orrinin commited on
Commit
a0a56e5
·
verified ·
1 Parent(s): 79d6899

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ with gr.Blocks(css=css, title="家庭医生AI助手") as iface:
121
  text_input = gr.Textbox(label="输入") # Create a text input box
122
  with gr.Row():
123
  submit_btn = gr.Button("🚀 确认") # Create a submit button
124
- clear_btn = gr.ClearButton([output_box,image_input,text_input], value="🗑️ 清空") # Create a clear button
125
 
126
 
127
  # Set up the event listeners
 
121
  text_input = gr.Textbox(label="输入") # Create a text input box
122
  with gr.Row():
123
  submit_btn = gr.Button("🚀 确认") # Create a submit button
124
+ clear_btn = gr.ClearButton([image_input,text_input], value="🗑️ 清空") # Create a clear button
125
 
126
 
127
  # Set up the event listeners