Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -335,7 +335,7 @@ def find_all(purpose,task,history, url, result):
|
|
| 335 |
print (f'out:: {out}')
|
| 336 |
history += "observation: the search results are:\n {}\n".format(rawp)
|
| 337 |
task = "compile report"
|
| 338 |
-
return "
|
| 339 |
else:
|
| 340 |
history += "observation: An Error occured\nI need to trigger a search using the following syntax:\naction: SCRAPE_WEBSITE action_input=URL\n"
|
| 341 |
return "MAIN", None, history, task, result
|
|
|
|
| 335 |
print (f'out:: {out}')
|
| 336 |
history += "observation: the search results are:\n {}\n".format(rawp)
|
| 337 |
task = "compile report"
|
| 338 |
+
return "UPDATE-TASK", None, history, task, result
|
| 339 |
else:
|
| 340 |
history += "observation: An Error occured\nI need to trigger a search using the following syntax:\naction: SCRAPE_WEBSITE action_input=URL\n"
|
| 341 |
return "MAIN", None, history, task, result
|