Spaces:
Sleeping
Sleeping
danieladejumo
commited on
Commit
•
103d08c
1
Parent(s):
e7d036c
Updated app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ def classify_images(im):
|
|
8 |
cat, idx, probs = learn.predict(im)
|
9 |
return dict(zip(classes, map(float, probs)))
|
10 |
|
11 |
-
image = gr.
|
12 |
-
label = gr.
|
13 |
examples = ["forest.jpg", "bird.jpg"]
|
14 |
|
15 |
iface = gr.Interface(fn=classify_images,
|
|
|
8 |
cat, idx, probs = learn.predict(im)
|
9 |
return dict(zip(classes, map(float, probs)))
|
10 |
|
11 |
+
image = gr.Image(shape=(192, 192))
|
12 |
+
label = gr.Label()
|
13 |
examples = ["forest.jpg", "bird.jpg"]
|
14 |
|
15 |
iface = gr.Interface(fn=classify_images,
|