5m4ck3r commited on
Commit
ce052d7
1 Parent(s): 660eb2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def chat_with_history(message, chat_history=None):
25
  # Update the chat history with the new user message and bot response
26
  chat_history.append([message, response])
27
 
28
- return response, chat_history
29
 
30
  demo = gr.ChatInterface(
31
  fn=chat_with_history,
 
25
  # Update the chat history with the new user message and bot response
26
  chat_history.append([message, response])
27
 
28
+ return response
29
 
30
  demo = gr.ChatInterface(
31
  fn=chat_with_history,