Spaces:
Sleeping
Sleeping
input image shape fix
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def sepia(input_img):
|
|
121 |
|
122 |
demo = gr.Interface(fn=sepia,
|
123 |
title="Sidewalk Segmentation",
|
124 |
-
inputs=gr.Image(
|
125 |
outputs=['plot'],
|
126 |
examples=["sidewalk_1.jpg", "sidewalk_2.jpg", "sidewalk_3.jpg", "sidewalk_4.jpg", "sidewalk_5.jpg"],
|
127 |
allow_flagging='never')
|
|
|
121 |
|
122 |
demo = gr.Interface(fn=sepia,
|
123 |
title="Sidewalk Segmentation",
|
124 |
+
inputs=gr.Image(),
|
125 |
outputs=['plot'],
|
126 |
examples=["sidewalk_1.jpg", "sidewalk_2.jpg", "sidewalk_3.jpg", "sidewalk_4.jpg", "sidewalk_5.jpg"],
|
127 |
allow_flagging='never')
|