orrinin commited on
Commit
6a59997
·
verified ·
1 Parent(s): c81e1a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ with gr.Blocks(theme='soft', css=css, title="家庭医生AI助手") as iface:
94
  with gr.Row():
95
  output_box = gr.Markdown(label="分析") # Create an output textbox
96
  with gr.Row():
97
- image_input = gr.Image(type="str", label="上传图片") # Create an image upload button
98
  text_input = gr.Textbox(label="输入") # Create a text input box
99
  with gr.Row():
100
  submit_btn = gr.Button("🚀 确认") # Create a submit button
 
94
  with gr.Row():
95
  output_box = gr.Markdown(label="分析") # Create an output textbox
96
  with gr.Row():
97
+ image_input = gr.Image(type="filepath", label="上传图片") # Create an image upload button
98
  text_input = gr.Textbox(label="输入") # Create a text input box
99
  with gr.Row():
100
  submit_btn = gr.Button("🚀 确认") # Create a submit button