imnuvi commited on
Commit
6c2a3ec
·
1 Parent(s): 8d49e7e

ADD: description for the model

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,9 +16,10 @@ def greet(name):
16
 
17
  image = gr.Image(height=192,width=192)
18
  label = gr.Label()
 
19
  examples = ['./test_data/chennai_1.png', './test_data/chennai_2.png', './test_data/chennai_3.png', './test_data/london_1.png', './test_data/chennai_1.png']
20
 
21
- intf = gr.Interface(fn=classify_img, inputs=image, outputs=label, examples=examples)
22
  intf.launch()
23
 
24
  # iface = gr.Interface(fn=greet, inputs="text", outputs="text")
 
16
 
17
  image = gr.Image(height=192,width=192)
18
  label = gr.Label()
19
+ desc = "This model classifies satellite image of a particular area into possible cities. right now this is trained with Chennai and London city images"
20
  examples = ['./test_data/chennai_1.png', './test_data/chennai_2.png', './test_data/chennai_3.png', './test_data/london_1.png', './test_data/chennai_1.png']
21
 
22
+ intf = gr.Interface(fn=classify_img, inputs=image, outputs=label, examples=examples, description=desc)
23
  intf.launch()
24
 
25
  # iface = gr.Interface(fn=greet, inputs="text", outputs="text")