Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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,
|