Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -312,9 +312,9 @@ def find_all(purpose,task,history, url):
|
|
| 312 |
c +=1
|
| 313 |
|
| 314 |
print (c)
|
| 315 |
-
if
|
| 316 |
print("compressing...")
|
| 317 |
-
rawp = compress_data(
|
| 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?"
|