Spaces:
Sleeping
Sleeping
Commit ·
96210ce
1
Parent(s): c28f3cb
last changes
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ def classify_image(img):
|
|
| 10 |
pred, idx, probs = learner.predict(img)
|
| 11 |
return dict(zip(categories, map(float,probs)))
|
| 12 |
|
|
|
|
| 13 |
image = gr.Image()
|
| 14 |
label = gr.Label()
|
| 15 |
examples = ['doggie.jpg','cat.jpeg','hybrid.jpg']
|
|
|
|
| 10 |
pred, idx, probs = learner.predict(img)
|
| 11 |
return dict(zip(categories, map(float,probs)))
|
| 12 |
|
| 13 |
+
|
| 14 |
image = gr.Image()
|
| 15 |
label = gr.Label()
|
| 16 |
examples = ['doggie.jpg','cat.jpeg','hybrid.jpg']
|