MWilinski commited on
Commit
dc3ca58
·
1 Parent(s): 43b421d

fix webcam

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -16,9 +16,7 @@ default_image = Image.open("demo.jpeg")
16
 
17
  iface = gr.Interface(
18
  fn=segment_and_show,
19
- inputs=components.Image(
20
- value=default_image, sources=["upload", "webcam", "clipboard"]
21
- ),
22
  outputs=components.Image(type="pil"),
23
  title="Urban Autonomy Instance Segmentation Demo",
24
  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, sources=["upload", "clipboard"]),
 
 
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.",