federico commited on
Commit
e3b9c99
β€’
1 Parent(s): 9f8136b

take picture instead of videos

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def demo_play(img, laeo=True, rgb=False):
95
 
96
  demo = gr.Interface(
97
  fn=demo_play,
98
- inputs=[gr.Image(source="webcam", streaming=True),
99
  gr.Checkbox(value=True, label="LAEO", info="Compute and display LAEO"),
100
  gr.Checkbox(value=True, label="rgb", info="Display output on W/B image"),
101
  ],
 
95
 
96
  demo = gr.Interface(
97
  fn=demo_play,
98
+ inputs=[gr.Image(source="webcam"),
99
  gr.Checkbox(value=True, label="LAEO", info="Compute and display LAEO"),
100
  gr.Checkbox(value=True, label="rgb", info="Display output on W/B image"),
101
  ],