Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,6 +160,7 @@ def compress_data(c,purpose, task, history):
|
|
| 160 |
task=task,
|
| 161 |
history=history,
|
| 162 |
)
|
|
|
|
| 163 |
out+=resp
|
| 164 |
e=e+chunk
|
| 165 |
s=s+chunk
|
|
@@ -172,7 +173,7 @@ def compress_data(c,purpose, task, history):
|
|
| 172 |
task=task,
|
| 173 |
history=out,
|
| 174 |
)
|
| 175 |
-
|
| 176 |
history = "observation: {}\n".format(resp)
|
| 177 |
return history
|
| 178 |
|
|
|
|
| 160 |
task=task,
|
| 161 |
history=history,
|
| 162 |
)
|
| 163 |
+
print (resp)
|
| 164 |
out+=resp
|
| 165 |
e=e+chunk
|
| 166 |
s=s+chunk
|
|
|
|
| 173 |
task=task,
|
| 174 |
history=out,
|
| 175 |
)
|
| 176 |
+
print ("final" + resp)
|
| 177 |
history = "observation: {}\n".format(resp)
|
| 178 |
return history
|
| 179 |
|