Spaces:
Sleeping
Sleeping
adedd ski day
Browse files- .vscode/settings.json +6 -0
- app.py +3 -2
.vscode/settings.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[python]": {
|
3 |
+
"editor.defaultFormatter": "ms-python.autopep8"
|
4 |
+
},
|
5 |
+
"python.formatting.provider": "none"
|
6 |
+
}
|
app.py
CHANGED
@@ -13,8 +13,9 @@ def classify_image(img):
|
|
13 |
|
14 |
image = gr.inputs.Image(shape=(192, 192))
|
15 |
label = gr.outputs.Label()
|
16 |
-
|
17 |
-
examples = ['broccoli.jpeg', 'marijuana.jpeg','brocc 2.jpeg',
|
|
|
18 |
|
19 |
intf = gr.Interface(fn=classify_image, inputs=image,
|
20 |
outputs=label, examples=examples)
|
|
|
13 |
|
14 |
image = gr.inputs.Image(shape=(192, 192))
|
15 |
label = gr.outputs.Label()
|
16 |
+
ß
|
17 |
+
examples = ['broccoli.jpeg', 'marijuana.jpeg', 'brocc 2.jpeg',
|
18 |
+
'weed 2.jpeg', 'brocc 3.jpeg', 'weed 3.jpeg', 'weed 4.jpeg']
|
19 |
|
20 |
intf = gr.Interface(fn=classify_image, inputs=image,
|
21 |
outputs=label, examples=examples)
|