Spaces:
Sleeping
Sleeping
Nunzio commited on
Commit ·
72b1fe6
1
Parent(s): 5481fd6
fixed
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ with gr.Blocks(title="Semantic Segmentation Predictors") as demo:
|
|
| 76 |
with gr.Row():
|
| 77 |
gta_gallery = gr.Gallery(value=loadPreloadedImages(gta_image_dir),
|
| 78 |
label="GTA V Examples", show_label=False, columns=5,
|
| 79 |
-
rows=1, height=200, type="pil", allow_preview=False
|
| 80 |
)
|
| 81 |
|
| 82 |
with gr.Row():
|
|
@@ -84,7 +84,7 @@ with gr.Blocks(title="Semantic Segmentation Predictors") as demo:
|
|
| 84 |
with gr.Row():
|
| 85 |
city_gallery = gr.Gallery(value=loadPreloadedImages(city_image_dir),
|
| 86 |
label="Cityscapes Examples", show_label=False, columns=5,
|
| 87 |
-
rows=1, height=256, type="pil", allow_preview=False
|
| 88 |
)
|
| 89 |
|
| 90 |
gta_gallery.select(fn=load_example, inputs=[gta_gallery], outputs=[image_input])
|
|
|
|
| 76 |
with gr.Row():
|
| 77 |
gta_gallery = gr.Gallery(value=loadPreloadedImages(gta_image_dir),
|
| 78 |
label="GTA V Examples", show_label=False, columns=5,
|
| 79 |
+
rows=1, height=200, type="pil", allow_preview=False
|
| 80 |
)
|
| 81 |
|
| 82 |
with gr.Row():
|
|
|
|
| 84 |
with gr.Row():
|
| 85 |
city_gallery = gr.Gallery(value=loadPreloadedImages(city_image_dir),
|
| 86 |
label="Cityscapes Examples", show_label=False, columns=5,
|
| 87 |
+
rows=1, height=256, type="pil", allow_preview=False
|
| 88 |
)
|
| 89 |
|
| 90 |
gta_gallery.select(fn=load_example, inputs=[gta_gallery], outputs=[image_input])
|