awacke1 commited on
Commit
9f4536a
ยท
1 Parent(s): d62f238

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -25,7 +25,8 @@ def recognize_game_all(img):
25
  return dict(zip(categories, map(float,probs)))
26
 
27
 
28
- image = gr.inputs.Image(shape=(224,224))
 
29
  label = gr.outputs.Label(num_top_classes=48)
30
  title= 'A Game For That - Gamification Using Snapshot Images'
31
  examples = ['image.jpg','1.1.jpg','1.2.jpg','2.jpg','3.jpg','4.jpg', '5.jpg' ]
 
25
  return dict(zip(categories, map(float,probs)))
26
 
27
 
28
+ #image = gr.inputs.Image(shape=(224,224))
29
+ image = gr.inputs.Image()
30
  label = gr.outputs.Label(num_top_classes=48)
31
  title= 'A Game For That - Gamification Using Snapshot Images'
32
  examples = ['image.jpg','1.1.jpg','1.2.jpg','2.jpg','3.jpg','4.jpg', '5.jpg' ]