Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ with gr.Blocks() as iface:
|
|
81 |
with gr.Row():
|
82 |
output_box = gr.Markdown(label="分析") # Create an output textbox
|
83 |
with gr.Row():
|
84 |
-
image_input = gr.Image(type="
|
85 |
text_input = gr.Textbox(label="输入") # Create a text input box
|
86 |
with gr.Row():
|
87 |
submit_btn = gr.Button("🚀 确认") # Create a submit button
|
|
|
81 |
with gr.Row():
|
82 |
output_box = gr.Markdown(label="分析") # Create an output textbox
|
83 |
with gr.Row():
|
84 |
+
image_input = gr.Image(type="pil", label="上传图片") # Create an image upload button
|
85 |
text_input = gr.Textbox(label="输入") # Create a text input box
|
86 |
with gr.Row():
|
87 |
submit_btn = gr.Button("🚀 确认") # Create a submit button
|