Palbha Kulkarni (Nazwale) commited on
Commit
f757205
·
unverified ·
1 Parent(s): 9fcebf9

Update app.py

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