Spaces:
Sleeping
Sleeping
Nunzio commited on
Commit ·
9f7e1a8
1
Parent(s): f6252ee
TRIED FIXING SELECTION
Browse files
app.py
CHANGED
|
@@ -88,8 +88,8 @@ with gr.Blocks(title="Semantic Segmentation Predictors") as demo:
|
|
| 88 |
rows=1, height=256, allow_preview=False
|
| 89 |
)
|
| 90 |
|
| 91 |
-
gta_gallery.select(fn=load_example, inputs=[gta_gallery, True], outputs=[
|
| 92 |
-
city_gallery.select(fn=load_example, inputs=[city_gallery, False], outputs=[
|
| 93 |
|
| 94 |
submit_btn.click(
|
| 95 |
fn=run_prediction,
|
|
|
|
| 88 |
rows=1, height=256, allow_preview=False
|
| 89 |
)
|
| 90 |
|
| 91 |
+
gta_gallery.select(fn=load_example, inputs=[gta_gallery, True], outputs=[image_input])
|
| 92 |
+
city_gallery.select(fn=load_example, inputs=[city_gallery, False], outputs=[image_input])
|
| 93 |
|
| 94 |
submit_btn.click(
|
| 95 |
fn=run_prediction,
|