Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def segment(satellite_image: np.ndarray) -> tuple[np.ndarray, np.ndarray]:
|
|
101 |
return raw_segmentation, segmentation_overlay
|
102 |
|
103 |
|
104 |
-
inputs = gr.
|
105 |
outputs = [gr.Image(label="Raw Segmentation"), gr.Image(label="Segmentation Overlay")]
|
106 |
images_dir = "sample_sat_images/"
|
107 |
examples = [f"{images_dir}/{image_id}" for image_id in os.listdir(images_dir)]
|
|
|
101 |
return raw_segmentation, segmentation_overlay
|
102 |
|
103 |
|
104 |
+
inputs = gr.Image(label="Input Image")
|
105 |
outputs = [gr.Image(label="Raw Segmentation"), gr.Image(label="Segmentation Overlay")]
|
106 |
images_dir = "sample_sat_images/"
|
107 |
examples = [f"{images_dir}/{image_id}" for image_id in os.listdir(images_dir)]
|