jaydemirandilla commited on
Commit
6001374
·
verified ·
1 Parent(s): 7e2d912

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ def recognize_image(image):
16
  return dict(zip(fruit_labels, map(float, probs)))
17
 
18
 
19
- image = gr.inputs.Image(shape=(192,192))
20
- label = gr.outputs.Label(num_top_classes=5)
21
  examples = [
22
  'image_1.jpg',
23
  'image_2.jpeg',
 
16
  return dict(zip(fruit_labels, map(float, probs)))
17
 
18
 
19
+ image = gr.inputs.Image(shape=(192, 192))
20
+ label = gr.outputs.Label(num_top_classes=5) # Remove the unused parameter 'type'
21
  examples = [
22
  'image_1.jpg',
23
  'image_2.jpeg',