Update index.html
Browse files- 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",
|
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(),
|