elsoori commited on
Commit
b1b8573
·
1 Parent(s): d9b7fc7

Added description

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,10 +9,11 @@ def classify_image(img):
9
  return dict(zip(categories, map(float,probs)))
10
 
11
  title = "Bear Classifier"
 
12
 
13
  image = gr.Image(shape=(192,192))
14
  label = gr.Label()
15
  examples = ['grizzly.jpg', 'black.jpg', 'teddy.jpg']
16
 
17
- intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples = examples, title=title)
18
  intf.launch(inline=False)
 
9
  return dict(zip(categories, map(float,probs)))
10
 
11
  title = "Bear Classifier"
12
+ description = " Upload a picture of a bear or drag and drop one of the examples below to the upload box to find out what type of bear it is!"
13
 
14
  image = gr.Image(shape=(192,192))
15
  label = gr.Label()
16
  examples = ['grizzly.jpg', 'black.jpg', 'teddy.jpg']
17
 
18
+ intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples = examples, title=title, description=description)
19
  intf.launch(inline=False)