Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,4 +27,4 @@ label = gr.outputs.Label()
|
|
27 |
examples = ['rock.jpg', 'paper.jpg', 'scissor.jpg']
|
28 |
|
29 |
intf = gr.Interface(fn = classify_images, inputs = image, outputs = label, examples = examples)
|
30 |
-
intf.launch(
|
|
|
27 |
examples = ['rock.jpg', 'paper.jpg', 'scissor.jpg']
|
28 |
|
29 |
intf = gr.Interface(fn = classify_images, inputs = image, outputs = label, examples = examples)
|
30 |
+
intf.launch(capture_input=True, capture_fn=get_webcam_image)
|