yxmauw commited on
Commit
6daebf6
1 Parent(s): 7ce2ce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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