Spaces:
Runtime error
Runtime error
resize image
Browse files
app.py
CHANGED
@@ -10,6 +10,6 @@ def segment(input_img):
|
|
10 |
return mask_image
|
11 |
|
12 |
|
13 |
-
demo = gr.Interface(segment, gr.Image(), "image")
|
14 |
if __name__ == "__main__":
|
15 |
demo.launch()
|
|
|
10 |
return mask_image
|
11 |
|
12 |
|
13 |
+
demo = gr.Interface(segment, gr.Image(shape=(400, 600)), "image")
|
14 |
if __name__ == "__main__":
|
15 |
demo.launch()
|