jorgenlybeck commited on
Commit
7c6657d
1 Parent(s): 89db462

add examples

Browse files
Files changed (5) hide show
  1. .DS_Store +0 -0
  2. app.py +1 -1
  3. examples/.DS_Store +0 -0
  4. examples/bear.jpg +0 -0
  5. examples/wolverine.jpg +0 -0
.DS_Store ADDED
Binary file (6.15 kB). View file
 
app.py CHANGED
@@ -24,7 +24,7 @@ image = gr.Image()
24
  label = gr.Label()
25
 
26
  # Upload your own images and link them
27
- examples = ['basset.jpg']
28
 
29
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
30
  intf.launch()
 
24
  label = gr.Label()
25
 
26
  # Upload your own images and link them
27
+ examples = ['./examples/wolverine.jpg', './examples/bear.jpg']
28
 
29
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
30
  intf.launch()
examples/.DS_Store ADDED
Binary file (6.15 kB). View file
 
examples/bear.jpg ADDED
examples/wolverine.jpg ADDED