lwdragon commited on
Commit
165dbe4
·
1 Parent(s): d2c9d91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -72,10 +72,14 @@ with gr.Blocks(css=css) as demo:
72
 
73
  with gr.Tab("目标识别 (Object Detection)"):
74
  with gr.Row():
75
- image_input = gr.Image(type="filepath",
76
- value=default_image
77
- )
78
- image_output = gr.Image(type="filepath")
 
 
 
 
79
 
80
  gr.Examples(
81
  examples=example_images,
 
72
 
73
  with gr.Tab("目标识别 (Object Detection)"):
74
  with gr.Row():
75
+ image_input = gr.Image(
76
+ type="filepath",
77
+ value=default_image
78
+ )
79
+ image_output = gr.Image(
80
+ type="filepath",
81
+ interactive=False
82
+ )
83
 
84
  gr.Examples(
85
  examples=example_images,