Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ def predict(
|
|
119 |
# """
|
120 |
yield chatbot, history, past_key_values
|
121 |
|
122 |
-
for response, history
|
123 |
tokenizer,
|
124 |
input,
|
125 |
history,
|
|
|
119 |
# """
|
120 |
yield chatbot, history, past_key_values
|
121 |
|
122 |
+
for response, history in model.stream_chat(
|
123 |
tokenizer,
|
124 |
input,
|
125 |
history,
|