peazy commited on
Commit
a0805e9
1 Parent(s): e39dd51

adedd ski day

Browse files
Files changed (2) hide show
  1. .vscode/settings.json +6 -0
  2. 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', 'weed 2.jpeg','brocc 3.jpeg', 'weed 3.jpeg','brocc 4.jpeg', 'weed 4.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)