Update app.py
Browse files
app.py
CHANGED
@@ -262,7 +262,7 @@ def generate(prompt, history, post_check, agent_name=agents[0], sys_prompt="", t
|
|
262 |
|
263 |
for response in stream:
|
264 |
output += response.token.text
|
265 |
-
yield '', [(prompt,output)],summary[0],json_obj, json_hist,html_out
|
266 |
|
267 |
if not title:
|
268 |
for line in output.split("\n"):
|
|
|
262 |
|
263 |
for response in stream:
|
264 |
output += response.token.text
|
265 |
+
yield '', [(prompt,output)],{},summary[0],json_obj, json_hist,html_out
|
266 |
|
267 |
if not title:
|
268 |
for line in output.split("\n"):
|