Spaces:
Running
on
Zero
Running
on
Zero
fix seg
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ with block:
|
|
166 |
with gr.Column(scale=1):
|
167 |
with gr.Row():
|
168 |
# input image
|
169 |
-
input_image = gr.Image(label="Input Image", type="
|
170 |
seg_image = gr.Image(label="Segmentation Result", type="numpy", interactive=False)
|
171 |
with gr.Accordion("Settings", open=True):
|
172 |
# inference steps
|
|
|
166 |
with gr.Column(scale=1):
|
167 |
with gr.Row():
|
168 |
# input image
|
169 |
+
input_image = gr.Image(label="Input Image", type="filepath") # use file_path and load manually
|
170 |
seg_image = gr.Image(label="Segmentation Result", type="numpy", interactive=False)
|
171 |
with gr.Accordion("Settings", open=True):
|
172 |
# inference steps
|