Spaces:
Sleeping
Sleeping
George Sergia
commited on
Commit
·
5150d70
1
Parent(s):
aae26ba
Fix image component
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def classify_bear(img):
|
|
10 |
return dict(zip(categories, map(float,probs)))
|
11 |
|
12 |
|
13 |
-
image = gr.components.Image(
|
14 |
label = gr.components.Label()
|
15 |
examples=["grizzly.jpg", "brown.jpg", "white.jpg", "black.jpg", "teddy.jpg"]
|
16 |
|
|
|
10 |
return dict(zip(categories, map(float,probs)))
|
11 |
|
12 |
|
13 |
+
image = gr.components.Image(width=192,height=192)
|
14 |
label = gr.components.Label()
|
15 |
examples=["grizzly.jpg", "brown.jpg", "white.jpg", "black.jpg", "teddy.jpg"]
|
16 |
|