Update app.py
Browse files
app.py
CHANGED
|
@@ -355,7 +355,7 @@ def generate(prompt, history, post_check,full_conv, agent_name=agents[0], sys_pr
|
|
| 355 |
#if history:
|
| 356 |
# yield history
|
| 357 |
if not prompt:
|
| 358 |
-
prompt_out
|
| 359 |
else:
|
| 360 |
prompt_out=prompt
|
| 361 |
for response in stream:
|
|
|
|
| 355 |
#if history:
|
| 356 |
# yield history
|
| 357 |
if not prompt:
|
| 358 |
+
prompt_out = None
|
| 359 |
else:
|
| 360 |
prompt_out=prompt
|
| 361 |
for response in stream:
|