Spaces:
Sleeping
Sleeping
Trever J
commited on
Commit
·
aa048e0
1
Parent(s):
11746f1
updated gradio
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def classify_image(img):
|
|
9 |
pred,idx,probs = learn.predict(img)
|
10 |
return dict(zip(categories, map(float, probs)))
|
11 |
|
12 |
-
image = gr.
|
13 |
-
label = gr.
|
14 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
15 |
|
|
|
9 |
pred,idx,probs = learn.predict(img)
|
10 |
return dict(zip(categories, map(float, probs)))
|
11 |
|
12 |
+
image = gr.Image(shape=(192,192))
|
13 |
+
label = gr.Label()
|
14 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
15 |
|