Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def chat(message, history):
|
|
121 |
history_useful = add_note_to_history(response, history_useful)
|
122 |
list_history = history_useful[0].split('</s> <s>')
|
123 |
history.append((list_history[-2], list_history[-1]))
|
124 |
-
store_message(
|
125 |
return history, history
|
126 |
|
127 |
gr.Interface(
|
|
|
121 |
history_useful = add_note_to_history(response, history_useful)
|
122 |
list_history = history_useful[0].split('</s> <s>')
|
123 |
history.append((list_history[-2], list_history[-1]))
|
124 |
+
store_message(message, response) # Save to dataset
|
125 |
return history, history
|
126 |
|
127 |
gr.Interface(
|