Spaces:
Sleeping
Sleeping
shape error fix -> height/width
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def classify_image(img):
|
|
11 |
pred,idx,probs = learn.predict(img)
|
12 |
return dict(zip(categories, map(float,probs)))
|
13 |
|
14 |
-
image = gr.components.Image(
|
15 |
label = gr.components.Label()
|
16 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
17 |
|
|
|
11 |
pred,idx,probs = learn.predict(img)
|
12 |
return dict(zip(categories, map(float,probs)))
|
13 |
|
14 |
+
image = gr.components.Image(height=192, width=192)
|
15 |
label = gr.components.Label()
|
16 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
17 |
|