Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def classify_images(img):
|
|
| 20 |
pred.idx.probs=learn.predict(img)
|
| 21 |
return dict(zip(categories,map(float,probs)))
|
| 22 |
|
| 23 |
-
image=gr.Image(
|
| 24 |
label=gr.Label()
|
| 25 |
examples=['dog.jpg','cat.jpg']
|
| 26 |
|
|
|
|
| 20 |
pred.idx.probs=learn.predict(img)
|
| 21 |
return dict(zip(categories,map(float,probs)))
|
| 22 |
|
| 23 |
+
image=gr.Image()
|
| 24 |
label=gr.Label()
|
| 25 |
examples=['dog.jpg','cat.jpg']
|
| 26 |
|