Omnibus commited on
Commit
651e3ee
·
verified ·
1 Parent(s): 4ccf7b4

Update app.py

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