Spaces:
Build error
Build error
Update app.py
Browse files
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' ]
|