Spaces:
Sleeping
Sleeping
Commit ·
a740b83
1
Parent(s): 04b0f7b
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def classify_image(img):
|
|
| 20 |
pred,idx,probs = learn.predict(img)
|
| 21 |
return dict(zip(categories, map(float, probs)))
|
| 22 |
|
| 23 |
-
image = gr.inputs.Image(shape(192, 192))
|
| 24 |
label = gr.outputs.Label()
|
| 25 |
examples = ['1.jpg', '2.jpg', '3.jpg']
|
| 26 |
|
|
|
|
| 20 |
pred,idx,probs = learn.predict(img)
|
| 21 |
return dict(zip(categories, map(float, probs)))
|
| 22 |
|
| 23 |
+
image = gr.inputs.Image(shape=(192, 192))
|
| 24 |
label = gr.outputs.Label()
|
| 25 |
examples = ['1.jpg', '2.jpg', '3.jpg']
|
| 26 |
|