Omnibus commited on
Commit
f6d283c
·
verified ·
1 Parent(s): ee2a36e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -327,9 +327,11 @@ def find_all(purpose,task,history, url):
327
  if c > MAX_DATA:
328
  print("compressing...")
329
  rawp = compress_data(c,purpose,task,out)
 
 
330
  print (rawp)
331
  print (f'out:: {out}')
332
- history += "observation: the search results are:\n {}\n".format(out)
333
  task = "compile report"
334
  return "MAIN", None, history, task
335
  else:
 
327
  if c > MAX_DATA:
328
  print("compressing...")
329
  rawp = compress_data(c,purpose,task,out)
330
+ else:
331
+ rawp = out
332
  print (rawp)
333
  print (f'out:: {out}')
334
+ history += "observation: the search results are:\n {}\n".format(rawp)
335
  task = "compile report"
336
  return "MAIN", None, history, task
337
  else: