arham061 commited on
Commit
e11821d
1 Parent(s): cfcd37d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, capture=True, capture_fn=get_webcam_image)
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 = gr.webcam(), outputs = label, examples = examples).launch
30
+