Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
| 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:
|