Update app.py
Browse files
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="
|
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
|