Spaces:
Sleeping
Sleeping
yashdrinkswater
commited on
Commit
•
7ed7df3
1
Parent(s):
0340d06
minor changes
Browse files
app.py
CHANGED
@@ -14,9 +14,6 @@ def classify_image(img):
|
|
14 |
pred, idx, probs = learn.predict(img)
|
15 |
return dict(zip(categories, map(float, probs)))
|
16 |
|
17 |
-
|
18 |
-
# image = gr.Image(shape=(192, 192))
|
19 |
-
# label = gr.Label()
|
20 |
examples = ['dog.jpg', 'cat.jpg']
|
21 |
|
22 |
iface = gr.Interface(fn=classify_image, inputs='image',
|
|
|
14 |
pred, idx, probs = learn.predict(img)
|
15 |
return dict(zip(categories, map(float, probs)))
|
16 |
|
|
|
|
|
|
|
17 |
examples = ['dog.jpg', 'cat.jpg']
|
18 |
|
19 |
iface = gr.Interface(fn=classify_image, inputs='image',
|