Jatayoo commited on
Commit
341448c
1 Parent(s): ab56387

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -7,7 +7,9 @@ labels = ('Bee', 'Wasp')
7
  def predict(img):
8
  pred, pred_idx, prob = learn.predict(img)
9
  return dict(zip(labels, map(float, prob)))
10
-
 
 
11
  image = gr.inputs.Image(shape=(192,192))
12
  label = gr.outputs.Label()
13
  examples = ['bee.jpg', 'wasp.jpg']
 
7
  def predict(img):
8
  pred, pred_idx, prob = learn.predict(img)
9
  return dict(zip(labels, map(float, prob)))
10
+
11
+ title="Bee or wasp classifier"
12
+
13
  image = gr.inputs.Image(shape=(192,192))
14
  label = gr.outputs.Label()
15
  examples = ['bee.jpg', 'wasp.jpg']