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