Palbha Kulkarni (Nazwale) commited on
Commit
58b91d8
·
unverified ·
1 Parent(s): a9f3ace

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ with gr.Blocks(css=custom_css) as app:
48
  # Main logic handler
49
  def respond(message, chat_history, model_choice, api_key):
50
  reply, chat_history = get_response(message, chat_history, model_choice, api_key)
51
- return reply, chat_history
52
 
53
  msg.submit(
54
  respond,
 
48
  # Main logic handler
49
  def respond(message, chat_history, model_choice, api_key):
50
  reply, chat_history = get_response(message, chat_history, model_choice, api_key)
51
+ return chat_history, chat_history
52
 
53
  msg.submit(
54
  respond,