kellyshreeve commited on
Commit
3de827b
·
verified ·
1 Parent(s): d7fea56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,12 +11,12 @@ def predict(img):
11
  return dict(zip(labels, map(float, probs)))
12
 
13
  title = 'Natural Landscape Classifier'
14
- description = 'Click an example photo or upload your own image!'
15
  examples = ['farm.jpg', 'lake.jpg', 'solar.jpg', 'neighborhood.jpg']
16
  inputs=gr.Image(type='pil',
17
  label='Photo')
18
  outputs = gr.Label(value={labels[i]: 0 for i in range(len(labels))},
19
- label='Type of Landscape',
20
  show_label=True)
21
 
22
  iface = gr.Interface(fn=predict,
 
11
  return dict(zip(labels, map(float, probs)))
12
 
13
  title = 'Natural Landscape Classifier'
14
+ description = 'Click an example photo or upload an image of your own!'
15
  examples = ['farm.jpg', 'lake.jpg', 'solar.jpg', 'neighborhood.jpg']
16
  inputs=gr.Image(type='pil',
17
  label='Photo')
18
  outputs = gr.Label(value={labels[i]: 0 for i in range(len(labels))},
19
+ label='Your photo is a...',
20
  show_label=True)
21
 
22
  iface = gr.Interface(fn=predict,