Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,11 +60,8 @@ def predict(message, history, system_prompt, temperature, max_tokens):
|
|
| 60 |
stop = True
|
| 61 |
break
|
| 62 |
if stop:
|
|
|
|
| 63 |
break
|
| 64 |
-
print(text)
|
| 65 |
-
yield "".join(outputs)
|
| 66 |
-
|
| 67 |
-
|
| 68 |
|
| 69 |
if __name__ == "__main__":
|
| 70 |
args = parse_args()
|
|
|
|
| 60 |
stop = True
|
| 61 |
break
|
| 62 |
if stop:
|
| 63 |
+
yield "".join(outputs)
|
| 64 |
break
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
if __name__ == "__main__":
|
| 67 |
args = parse_args()
|