Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ def classify_bear(img):
|
|
9 |
pred,idx,probs=learner.predict(img)
|
10 |
return dict(zip(categories, map(float,probs)))
|
11 |
|
|
|
12 |
image = gr.inputs.Image(shape=(192,192))
|
13 |
label = gr.outputs.Label()
|
14 |
examples=["grizzly.jpg", "brown.jpg", "white.jpg", "black.jpg", "teddy.jpg"]
|
|
|
9 |
pred,idx,probs=learner.predict(img)
|
10 |
return dict(zip(categories, map(float,probs)))
|
11 |
|
12 |
+
|
13 |
image = gr.inputs.Image(shape=(192,192))
|
14 |
label = gr.outputs.Label()
|
15 |
examples=["grizzly.jpg", "brown.jpg", "white.jpg", "black.jpg", "teddy.jpg"]
|