Liam commited on
Commit
1c9eea4
·
1 Parent(s): 40cbdd4

setting up examples

Browse files
Files changed (5) hide show
  1. app.py +1 -1
  2. ex1.jpg +0 -0
  3. ex2.jpg +0 -0
  4. ex3.jpg +0 -0
  5. ex4.jpg +0 -0
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