elyx commited on
Commit
7da6ed7
·
1 Parent(s): a412168
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ def classify_images(img):
13
 
14
  title = "Cute or Ugly Kitten Classifier"
15
  description = "Upload a kitten and it will tell you if it's ugly or cute! ~Elio."
16
- examples = ['cute kitten.jpg', 'ugly kitten.jpg']
17
 
18
  iface = gr.Interface(fn=classify_images, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(), title=title, description=description, examples=examples)
19
- iface.launch(share=True)
 
13
 
14
  title = "Cute or Ugly Kitten Classifier"
15
  description = "Upload a kitten and it will tell you if it's ugly or cute! ~Elio."
16
+ examples = [['cute kitten.jpg'], ['ugly kitten.jpg']]
17
 
18
  iface = gr.Interface(fn=classify_images, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(), title=title, description=description, examples=examples)
19
+ iface.launch()