Spaces:
Runtime error
Runtime error
disallow cam
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ default_image = Image.open("demo.jpeg")
|
|
16 |
|
17 |
iface = gr.Interface(
|
18 |
fn=segment_and_show,
|
19 |
-
inputs=components.Image(value=default_image),
|
20 |
outputs=components.Image(type="pil"),
|
21 |
title="Urban Autonomy Instance Segmentation Demo",
|
22 |
description="Upload an image or use the default to see the instance segmentation model in action.",
|
|
|
16 |
|
17 |
iface = gr.Interface(
|
18 |
fn=segment_and_show,
|
19 |
+
inputs=components.Image(value=default_image, streaming=False),
|
20 |
outputs=components.Image(type="pil"),
|
21 |
title="Urban Autonomy Instance Segmentation Demo",
|
22 |
description="Upload an image or use the default to see the instance segmentation model in action.",
|