Spaces:
Runtime error
Runtime error
Commit ·
50073b8
1
Parent(s): e7b84b5
'xd'
Browse files- app.py +4 -4
- black_bear.jpg +0 -0
- grizzly_bear.jpg +0 -0
- requirements.txt +2 -5
- teady_bear.jpg +0 -0
app.py
CHANGED
|
@@ -13,10 +13,10 @@ categories = ( 'black bear','grizzly bear' , 'teady bear')
|
|
| 13 |
image = gr.inputs.Image(shape=(194,194))
|
| 14 |
label = gr.outputs.Label()
|
| 15 |
examples = [
|
| 16 |
-
'
|
| 17 |
-
'
|
| 18 |
-
'
|
| 19 |
]
|
| 20 |
|
| 21 |
intf = gr.Interface(fn = classify_img , inputs = image , outputs = label , examples = examples)
|
| 22 |
-
intf.launch(
|
|
|
|
| 13 |
image = gr.inputs.Image(shape=(194,194))
|
| 14 |
label = gr.outputs.Label()
|
| 15 |
examples = [
|
| 16 |
+
'teady_bear.jpg' ,
|
| 17 |
+
'grizzly_bear.jpg' ,
|
| 18 |
+
'black_bear.jpg'
|
| 19 |
]
|
| 20 |
|
| 21 |
intf = gr.Interface(fn = classify_img , inputs = image , outputs = label , examples = examples)
|
| 22 |
+
intf.launch(inline = False)
|
black_bear.jpg
ADDED
|
grizzly_bear.jpg
ADDED
|
requirements.txt
CHANGED
|
@@ -1,5 +1,2 @@
|
|
| 1 |
-
fastai
|
| 2 |
-
|
| 3 |
-
gradio
|
| 4 |
-
numpy
|
| 5 |
-
pandas
|
|
|
|
| 1 |
+
fastai==2.7.7
|
| 2 |
+
scikit-image
|
|
|
|
|
|
|
|
|
teady_bear.jpg
ADDED
|