Omnibus commited on
Commit
d756283
·
verified ·
1 Parent(s): 98ae583

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -257,9 +257,9 @@ def find_all(purpose,task,history, url, result):
257
  if c > MAX_HISTORY:
258
  print("compressing...")
259
  rawp = compress_data(c,purpose,task,out,result)
 
260
  else:
261
  rawp = out
262
- result += rawp
263
 
264
  #print (rawp)
265
  #print (f'out:: {out}')
@@ -268,7 +268,7 @@ def find_all(purpose,task,history, url, result):
268
  return "MAIN", None, history, task, result
269
  else:
270
  history += f"observation: That URL string returned an error: {source.status_code}, I should try a different URL string\n"
271
- result+="Still Working..."
272
  return "MAIN", None, history, task, result
273
 
274
  else:
 
257
  if c > MAX_HISTORY:
258
  print("compressing...")
259
  rawp = compress_data(c,purpose,task,out,result)
260
+ result += rawp
261
  else:
262
  rawp = out
 
263
 
264
  #print (rawp)
265
  #print (f'out:: {out}')
 
268
  return "MAIN", None, history, task, result
269
  else:
270
  history += f"observation: That URL string returned an error: {source.status_code}, I should try a different URL string\n"
271
+ result="Still Working..."
272
  return "MAIN", None, history, task, result
273
 
274
  else: