Fix typo
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ categories = ('Poison Ivy', 'Not Poison Ivy')
|
|
| 13 |
|
| 14 |
def classify_image(img):
|
| 15 |
pred,idx,probs = learn.predict(img)
|
| 16 |
-
return dict(zip(categories, map(float,probs))
|
| 17 |
|
| 18 |
image = gr.inputs.Image(shape=(192, 192))
|
| 19 |
label = gr.outputs.Label()
|
|
|
|
| 13 |
|
| 14 |
def classify_image(img):
|
| 15 |
pred,idx,probs = learn.predict(img)
|
| 16 |
+
return dict(zip(categories, map(float,probs)))
|
| 17 |
|
| 18 |
image = gr.inputs.Image(shape=(192, 192))
|
| 19 |
label = gr.outputs.Label()
|