whitphx HF staff commited on
Commit
b75b060
1 Parent(s): f446279

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -29,7 +29,7 @@ async def classify(image, classes):
29
  demo = gr.Interface(
30
  classify,
31
  [
32
- gr.Image(label="Input image", source="webcam", type="filepath", streaming=True),
33
  gr.Textbox(label="Classes separated by commas")
34
  ],
35
  gr.Label(),
 
29
  demo = gr.Interface(
30
  classify,
31
  [
32
+ gr.Image(label="Input image", sources=["webcam"], type="filepath", streaming=True),
33
  gr.Textbox(label="Classes separated by commas")
34
  ],
35
  gr.Label(),