fix
Browse files
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(
|
|
|
|
| 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()
|