Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
|
113 |
"city_4.jpg", "city_5.jpg", "city_6.jpg",
|
114 |
"city_7.jpg", "city_8.jpg",
|
115 |
]
|
116 |
-
input_gallery = gr.Gallery(label="Select Image", value=
|
117 |
input_image = gr.Image(label="Uploaded Image", interactive=True, type="pil")
|
118 |
input_gallery.change(fn=lambda x: x, inputs=input_gallery, outputs=input_image)
|
119 |
process_button = gr.Button("Process Image")
|
|
|
113 |
"city_4.jpg", "city_5.jpg", "city_6.jpg",
|
114 |
"city_7.jpg", "city_8.jpg",
|
115 |
]
|
116 |
+
input_gallery = gr.Gallery(label="Select Image", value=cities, columns=4)
|
117 |
input_image = gr.Image(label="Uploaded Image", interactive=True, type="pil")
|
118 |
input_gallery.change(fn=lambda x: x, inputs=input_gallery, outputs=input_image)
|
119 |
process_button = gr.Button("Process Image")
|