Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -188,8 +188,8 @@ def end_fn(purpose, task, history, directory, action_input):
|
|
188 |
for response in stream:
|
189 |
resp += response.token.text
|
190 |
|
191 |
-
history += "observation: puspose is now COMPLETE"
|
192 |
-
history
|
193 |
task = "END"
|
194 |
return "COMPLETE", "COMPLETE", history, task
|
195 |
|
|
|
188 |
for response in stream:
|
189 |
resp += response.token.text
|
190 |
|
191 |
+
#history += "observation: puspose is now COMPLETE"
|
192 |
+
history = resp
|
193 |
task = "END"
|
194 |
return "COMPLETE", "COMPLETE", history, task
|
195 |
|