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