anasmkh commited on
Commit
d56a0da
·
verified ·
1 Parent(s): 5d513e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ import gradio as gr
60
  def chat_with_ai(user_input, chat_history):
61
  response = chat_engine.chat(user_input)
62
 
63
- chat_history = chat_history + [(user_input, str(response))]
64
 
65
  return chat_history, ""
66
 
 
60
  def chat_with_ai(user_input, chat_history):
61
  response = chat_engine.chat(user_input)
62
 
63
+ chat_history.append((user_input, str(response)))
64
 
65
  return chat_history, ""
66