Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,5 +26,5 @@ image = gr.inputs.Image(shape=(192,192))
|
|
26 |
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(
|
|
|
26 |
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, capture=True, capture_fn=get_webcam_image)
|
30 |
+
intf.launch()
|