Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def recognize_image(image):
|
|
33 |
pred, idx, probs = model.predict(image)
|
34 |
return dict(zip(sportballs_labels, map(float, probs)))
|
35 |
|
36 |
-
image = gr.Image(
|
37 |
label = gr.Label(num_top_classes=5)
|
38 |
examples = [
|
39 |
'unknown_00.jpg',
|
|
|
33 |
pred, idx, probs = model.predict(image)
|
34 |
return dict(zip(sportballs_labels, map(float, probs)))
|
35 |
|
36 |
+
image = gr.Image(width=224,height=224)
|
37 |
label = gr.Label(num_top_classes=5)
|
38 |
examples = [
|
39 |
'unknown_00.jpg',
|