nugentc commited on
Commit
ed80cd3
·
1 Parent(s): 2dfc510
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def chat(message, history=[]):
32
  response_ids = chat_history_ids[:, bot_input_ids.shape[-1]:][0]
33
  response = tokenizer.decode(response_ids, skip_special_tokens=True)
34
  history.append((message, response, chat_history_ids))
35
- return response, history, feedback(message)
36
 
37
 
38
  def feedback(text):
 
32
  response_ids = chat_history_ids[:, bot_input_ids.shape[-1]:][0]
33
  response = tokenizer.decode(response_ids, skip_special_tokens=True)
34
  history.append((message, response, chat_history_ids))
35
+ return history, history, feedback(message)
36
 
37
 
38
  def feedback(text):