Spaces:
Runtime error
Runtime error
archeltaneka
commited on
Commit
•
c1f6d4f
1
Parent(s):
29a6c69
Update app.py
Browse files
app.py
CHANGED
@@ -22,5 +22,5 @@ def classify_image(img):
|
|
22 |
inputs = gr.Webcam(mirror_webcam=True, streaming=True)
|
23 |
label = gr.outputs.Label()
|
24 |
|
25 |
-
intf = gr.Interface(fn=classify_image, inputs=inputs, outputs=label)
|
26 |
-
intf.launch(inline=False
|
22 |
inputs = gr.Webcam(mirror_webcam=True, streaming=True)
|
23 |
label = gr.outputs.Label()
|
24 |
|
25 |
+
intf = gr.Interface(fn=classify_image, inputs=inputs, outputs=label, live=True)
|
26 |
+
intf.launch(inline=False)
|