yxmauw commited on
Commit
a413727
·
verified ·
1 Parent(s): 78cfe81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks() as demo:
42
  message = gr.Textbox(label="Message")
43
  state = gr.State()
44
 
45
- message.submit(generate_response, inputs=[model_dropdown, message, state], outputs=[chatbot, state])
46
 
47
  # Launch the Gradio app
48
  demo.launch()
 
42
  message = gr.Textbox(label="Message")
43
  state = gr.State()
44
 
45
+ message.submit(generate_response, inputs=[model_dropdown, message, state], outputs=[message, chatbot, state])
46
 
47
  # Launch the Gradio app
48
  demo.launch()