vilarin commited on
Commit
bf30b16
·
verified ·
1 Parent(s): 24cfdc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="filepath", 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
 
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