Omnibus commited on
Commit
646063a
·
verified ·
1 Parent(s): d7d0e74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 "MAIN", 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
 
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