Update app.py
Browse files
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()
|