ThomasSimonini HF staff commited on
Commit
b05c828
1 Parent(s): 62ca94b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def chat(message, npc_name, initial_prompt, top_p, temperature, max_new_tokens,
81
  response = answer
82
  print("response", answer)
83
  history[-1] = (message, response)
84
- return response, history
85
 
86
 
87
  #io = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
 
81
  response = answer
82
  print("response", answer)
83
  history[-1] = (message, response)
84
+ return history, history
85
 
86
 
87
  #io = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")