Spaces:
Runtime error
Runtime error
Commit
·
4b5c5e3
1
Parent(s):
233aef1
update llm
Browse files
app.py
CHANGED
@@ -182,13 +182,14 @@ async def start_playwright(question: str):
|
|
182 |
print("output_text... :")
|
183 |
|
184 |
if output_text == output_history and '▌' not in output_text and output_text != "":
|
|
|
|
|
185 |
return output_text
|
186 |
else:
|
187 |
await page.wait_for_timeout(500)
|
188 |
output_history = output_text
|
189 |
print("-------- Final Answer-----------\n", output_text)
|
190 |
-
|
191 |
-
print("Output Done:", end_t - start_t)
|
192 |
await browser.close()
|
193 |
|
194 |
|
|
|
182 |
print("output_text... :")
|
183 |
|
184 |
if output_text == output_history and '▌' not in output_text and output_text != "":
|
185 |
+
end_t = time.time()
|
186 |
+
print("Output Done:", end_t - start_t)
|
187 |
return output_text
|
188 |
else:
|
189 |
await page.wait_for_timeout(500)
|
190 |
output_history = output_text
|
191 |
print("-------- Final Answer-----------\n", output_text)
|
192 |
+
|
|
|
193 |
await browser.close()
|
194 |
|
195 |
|