Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def classify_image(img):
|
|
22 |
pred, idx, probs =learn.predict(img)
|
23 |
return dict(zip(categories, map(float,probs)))
|
24 |
|
25 |
-
image= gr.
|
26 |
label = gr.outputs.Label()
|
27 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
28 |
|
|
|
22 |
pred, idx, probs =learn.predict(img)
|
23 |
return dict(zip(categories, map(float,probs)))
|
24 |
|
25 |
+
image= gr.inputs.Image(shape=(192, 192))
|
26 |
label = gr.outputs.Label()
|
27 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
28 |
|