Spaces:
Sleeping
Sleeping
Nunzio commited on
Commit ·
831e26e
1
Parent(s): 66bf19a
fixed button
Browse files
app.py
CHANGED
|
@@ -66,12 +66,12 @@ with gr.Blocks(title="Semantic Segmentation Predictors") as demo:
|
|
| 66 |
|
| 67 |
with gr.Row():
|
| 68 |
with gr.Column():
|
|
|
|
| 69 |
model_selector = gr.Radio(
|
| 70 |
choices=["BiSeNet", "BiSeNetV2"],
|
| 71 |
value="BiSeNet",
|
| 72 |
label="Select the real time segmentation model"
|
| 73 |
-
|
| 74 |
-
image_input = gr.Image(type="pil", label="Upload image")
|
| 75 |
submit_btn = gr.Button("Run prediction")
|
| 76 |
with gr.Column():
|
| 77 |
result_display = gr.Image(label="Model prediction", visible=True)
|
|
|
|
| 66 |
|
| 67 |
with gr.Row():
|
| 68 |
with gr.Column():
|
| 69 |
+
image_input = gr.Image(type="pil", label="Upload image")
|
| 70 |
model_selector = gr.Radio(
|
| 71 |
choices=["BiSeNet", "BiSeNetV2"],
|
| 72 |
value="BiSeNet",
|
| 73 |
label="Select the real time segmentation model"
|
| 74 |
+
)
|
|
|
|
| 75 |
submit_btn = gr.Button("Run prediction")
|
| 76 |
with gr.Column():
|
| 77 |
result_display = gr.Image(label="Model prediction", visible=True)
|