Spaces:
Sleeping
Sleeping
Liam
commited on
Commit
·
1c9eea4
1
Parent(s):
40cbdd4
setting up examples
Browse files
app.py
CHANGED
@@ -31,5 +31,5 @@ def classify(img):
|
|
31 |
def greet(name):
|
32 |
return "Hello " + name + "!!"
|
33 |
|
34 |
-
iface = gr.Interface(classify, gr.Image(shape=(896, 684)), "image")
|
35 |
iface.launch()
|
|
|
31 |
def greet(name):
|
32 |
return "Hello " + name + "!!"
|
33 |
|
34 |
+
iface = gr.Interface(classify, gr.Image(shape=(896, 684)), "image", examples = ["ex1.jpg", "ex2.jpg", "ex3.jpg", "ex4.jpg"])
|
35 |
iface.launch()
|
ex1.jpg
ADDED
ex2.jpg
ADDED
ex3.jpg
ADDED
ex4.jpg
ADDED