simple
Browse files
App/Chat/utils/Summarize.py
CHANGED
@@ -102,5 +102,5 @@ async def Summarizer(essay):
|
|
102 |
# Gather and execute the tasks concurrently
|
103 |
responses = await asyncio.gather(*tasks)
|
104 |
main = " ".join(responses)
|
105 |
-
ans = await PalmTextModel(combine_prompt.format(text=main)
|
106 |
return ans
|
|
|
102 |
# Gather and execute the tasks concurrently
|
103 |
responses = await asyncio.gather(*tasks)
|
104 |
main = " ".join(responses)
|
105 |
+
ans = await PalmTextModel(combine_prompt.format(text=main))
|
106 |
return ans
|