Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,9 +91,8 @@ def predict(input, max_length, top_p, temperature, history):
|
|
| 91 |
|
| 92 |
yield postprocess(response), history
|
| 93 |
|
| 94 |
-
|
| 95 |
-
history
|
| 96 |
-
yield response.content, history
|
| 97 |
|
| 98 |
|
| 99 |
def reset_user_input():
|
|
|
|
| 91 |
|
| 92 |
yield postprocess(response), history
|
| 93 |
|
| 94 |
+
history.append(myChatMessage(role=response_piece.role, content=response))
|
| 95 |
+
yield response, history
|
|
|
|
| 96 |
|
| 97 |
|
| 98 |
def reset_user_input():
|