Sadihsn commited on
Commit
6a19a75
·
1 Parent(s): db53e6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,8 +23,8 @@ def recognize_image(image):
23
  print(pred, probs)
24
  return dict(zip(veg_labels, map(float, probs)))
25
 
26
- image = gr.Image()
27
- label = gr.Label()
28
  examples = [
29
  'test_images/test_image1.jpeg',
30
  'test_images/test_image2.jpg',
 
23
  print(pred, probs)
24
  return dict(zip(veg_labels, map(float, probs)))
25
 
26
+ image = gr.inputs.Image()
27
+ label = gr.outputs.Label()
28
  examples = [
29
  'test_images/test_image1.jpeg',
30
  'test_images/test_image2.jpg',