Spaces:
Runtime error
Runtime error
Commit
·
e07e598
1
Parent(s):
a26f689
Corrected dinensions
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.inputs.Image(shape=(192,
|
| 15 |
label = gr.outputs.Label()
|
| 16 |
examples = ['cat.jpg']
|
| 17 |
|
|
|
|
| 11 |
pred,idx,probs = learn.predict(img)
|
| 12 |
return dict(zip(categories, map(float,probs)))
|
| 13 |
|
| 14 |
+
image = gr.inputs.Image(shape=(192,192))
|
| 15 |
label = gr.outputs.Label()
|
| 16 |
examples = ['cat.jpg']
|
| 17 |
|