Omnibus commited on
Commit
07bc596
1 Parent(s): d160b4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -312,9 +312,9 @@ def find_all(purpose,task,history, url):
312
  c +=1
313
 
314
  print (c)
315
- if c > MAX_DATA:
316
  print("compressing...")
317
- rawp = compress_data(c,purpose,task,rawp)
318
  print (rawp)
319
  history += "observation: the search results are:\n {}\n".format(rawp)
320
  task = "complete?"
 
312
  c +=1
313
 
314
  print (c)
315
+ if rl > MAX_DATA:
316
  print("compressing...")
317
+ rawp = compress_data(rl,purpose,task,rawp)
318
  print (rawp)
319
  history += "observation: the search results are:\n {}\n".format(rawp)
320
  task = "complete?"