Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def predict(message, history, system_prompt, temperature, max_new_tokens, top_k,
|
|
89 |
for new_token in streamer:
|
90 |
outputs.append(new_token)
|
91 |
if new_token in stop_tokens:
|
92 |
-
|
93 |
break
|
94 |
yield "".join(outputs)
|
95 |
|
|
|
89 |
for new_token in streamer:
|
90 |
outputs.append(new_token)
|
91 |
if new_token in stop_tokens:
|
92 |
+
|
93 |
break
|
94 |
yield "".join(outputs)
|
95 |
|