Spaces:
Running
Running
192
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def classify_image(img):
|
|
10 |
pred,idx,probs = learn.predict(img)
|
11 |
return dict(zip(categories, map(float,probs)))
|
12 |
|
13 |
-
image = gr.inputs.Image(shape=(
|
14 |
label = gr.outputs.Label()
|
15 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
16 |
|
|
|
10 |
pred,idx,probs = learn.predict(img)
|
11 |
return dict(zip(categories, map(float,probs)))
|
12 |
|
13 |
+
image = gr.inputs.Image(shape=(192, 192))
|
14 |
label = gr.outputs.Label()
|
15 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
16 |
|