Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
|
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="
|
118 |
input_gallery.change(fn=lambda x: x, inputs=input_gallery, outputs=input_image)
|
119 |
process_button = gr.Button("Process Image")
|
120 |
with gr.Column(scale=2):
|
|
|
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="numpy")
|
118 |
input_gallery.change(fn=lambda x: x, inputs=input_gallery, outputs=input_image)
|
119 |
process_button = gr.Button("Process Image")
|
120 |
with gr.Column(scale=2):
|