Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -300,7 +300,7 @@ def find_all(purpose,task,history, url):
|
|
300 |
print (rawp)
|
301 |
history += "observation: the search results are:\n {}\n".format(rawp)
|
302 |
task = "complete?"
|
303 |
-
return "
|
304 |
else:
|
305 |
history += "observation: I need to trigger a search using the following syntax:\naction: WEBSITE_SCRAPE action_input=SEARCH_QUERY\n"
|
306 |
return "UPDATE-TASK", None, history, task
|
|
|
300 |
print (rawp)
|
301 |
history += "observation: the search results are:\n {}\n".format(rawp)
|
302 |
task = "complete?"
|
303 |
+
return "MAIN", None, history, task
|
304 |
else:
|
305 |
history += "observation: I need to trigger a search using the following syntax:\naction: WEBSITE_SCRAPE action_input=SEARCH_QUERY\n"
|
306 |
return "UPDATE-TASK", None, history, task
|