awacke1 commited on
Commit
d8a1ba9
·
1 Parent(s): 9aa7c4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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((list_history[-2], list_history[-1])) # Save to dataset
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(