Antoine245 commited on
Commit
78fe79a
·
1 Parent(s): 9348c62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
29
  chatbot = gr.Chatbot()
30
  msg = gr.Textbox()
31
  btn = gr.Button("Submit",variant="primary")
32
- gr.ClearButton([msg, chatbot], scale=1)
33
  # clear = gr.Button("Clear")
34
 
35
 
 
29
  chatbot = gr.Chatbot()
30
  msg = gr.Textbox()
31
  btn = gr.Button("Submit",variant="primary")
32
+ gr.ClearButton(msg, chatbot)
33
  # clear = gr.Button("Clear")
34
 
35