MWilinski commited on
Commit
3f83506
·
1 Parent(s): 7ef4a78

disallow cam

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.",