fixup!
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ categories = ('Poison Ivy', 'Not Poison Ivy')
|
|
| 14 |
|
| 15 |
|
| 16 |
def classify_image(img):
|
| 17 |
-
pred,idx,probs =
|
| 18 |
return dict(zip(categories, map(float,probs)))
|
| 19 |
|
| 20 |
image = gr.Image(type="filepath", width=192, height=192)
|
|
|
|
| 14 |
|
| 15 |
|
| 16 |
def classify_image(img):
|
| 17 |
+
pred,idx,probs = learner.predict(img)
|
| 18 |
return dict(zip(categories, map(float,probs)))
|
| 19 |
|
| 20 |
image = gr.Image(type="filepath", width=192, height=192)
|