Update app.py
Browse files
app.py
CHANGED
|
@@ -41,6 +41,8 @@ with gr.Blocks(
|
|
| 41 |
|
| 42 |
message.submit(generate_response, inputs=[model_dropdown, message, chatbot], outputs=[message, chatbot])
|
| 43 |
|
|
|
|
|
|
|
| 44 |
# Launch the Gradio app
|
| 45 |
demo.launch()
|
| 46 |
|
|
|
|
| 41 |
|
| 42 |
message.submit(generate_response, inputs=[model_dropdown, message, chatbot], outputs=[message, chatbot])
|
| 43 |
|
| 44 |
+
clear = gr.ClearButton([message, chatbot])
|
| 45 |
+
|
| 46 |
# Launch the Gradio app
|
| 47 |
demo.launch()
|
| 48 |
|