jarif commited on
Commit
8af97a5
·
1 Parent(s): 5cab5a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -18,8 +18,10 @@ def recognize_image(image):
18
  print(pred)
19
  return dict(zip(fruit_labels, map(float, probs)))
20
 
21
- image = gr.inputs.Image(shape=(192,192))
22
- label = gr.outputs.Label()
 
 
23
  examples = [
24
  'test_images/test_0.jpg',
25
  'test_images/test_1.jpg',
 
18
  print(pred)
19
  return dict(zip(fruit_labels, map(float, probs)))
20
 
21
+
22
+ image = gr.Image()
23
+ label = gr.Label()
24
+
25
  examples = [
26
  'test_images/test_0.jpg',
27
  'test_images/test_1.jpg',