Spaces:
Runtime error
Runtime error
Commit
·
08d42b2
1
Parent(s):
8f16c3d
'xd'
Browse files- app.py +2 -2
- teady_bear.jpg → teddy_bear.jpg +0 -0
app.py
CHANGED
|
@@ -7,13 +7,13 @@ def classify_img(img):
|
|
| 7 |
|
| 8 |
learn = load_learner('bears_model.pkl')
|
| 9 |
|
| 10 |
-
categories = ( 'black bear','grizzly bear' , '
|
| 11 |
|
| 12 |
|
| 13 |
image = gr.inputs.Image(shape=(194,194))
|
| 14 |
label = gr.outputs.Label()
|
| 15 |
examples = [
|
| 16 |
-
'
|
| 17 |
'grizzly_bear.jpg' ,
|
| 18 |
'black_bear.jpg'
|
| 19 |
]
|
|
|
|
| 7 |
|
| 8 |
learn = load_learner('bears_model.pkl')
|
| 9 |
|
| 10 |
+
categories = ( 'black bear','grizzly bear' , 'teddy bear')
|
| 11 |
|
| 12 |
|
| 13 |
image = gr.inputs.Image(shape=(194,194))
|
| 14 |
label = gr.outputs.Label()
|
| 15 |
examples = [
|
| 16 |
+
'teddy_bear.jpg' ,
|
| 17 |
'grizzly_bear.jpg' ,
|
| 18 |
'black_bear.jpg'
|
| 19 |
]
|
teady_bear.jpg → teddy_bear.jpg
RENAMED
|
File without changes
|