Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,8 +94,8 @@ def bot_streaming(message, history, temperature, top_k, max_new_tokens):
|
|
| 94 |
# yield buffer
|
| 95 |
|
| 96 |
prompt_builder.add_turn(role="gpt", message=buffer)
|
| 97 |
-
|
| 98 |
-
|
| 99 |
|
| 100 |
|
| 101 |
demo = gr.ChatInterface(fn=bot_streaming,
|
|
|
|
| 94 |
# yield buffer
|
| 95 |
|
| 96 |
prompt_builder.add_turn(role="gpt", message=buffer)
|
| 97 |
+
|
| 98 |
+
yield buffer
|
| 99 |
|
| 100 |
|
| 101 |
demo = gr.ChatInterface(fn=bot_streaming,
|