ThomasSimonini HF staff commited on
Commit
47e64ed
1 Parent(s): e4b4477

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -55,6 +55,7 @@ def chat(message, npc_name, prompt, top_p, temperature, max_new_tokens, history=
55
  print("max_new_tokens", max_new_tokens)
56
  print("history", history)
57
  response = "Test"
 
58
  """
59
  history = gr.get_state() or []
60
  history.append((message, ""))
 
55
  print("max_new_tokens", max_new_tokens)
56
  print("history", history)
57
  response = "Test"
58
+ history.append((message, response))
59
  """
60
  history = gr.get_state() or []
61
  history.append((message, ""))