SalmanHabeeb commited on
Commit
510708c
·
1 Parent(s): 35d4da9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def predict(img):
10
  return prediction
11
 
12
 
13
- image = gr.inputs.Image(shape=(200, 200))
14
  label = gr.outputs.Label()
15
 
16
  interface = gr.Interface(fn=predict, inputs=image, outputs=label)
 
10
  return prediction
11
 
12
 
13
+ image = gr.inputs.Image(shape=(200, 200), source="webcam")
14
  label = gr.outputs.Label()
15
 
16
  interface = gr.Interface(fn=predict, inputs=image, outputs=label)