Julien Simon commited on
Commit
bae2007
1 Parent(s): 629288e

Add examples

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -35,7 +35,16 @@ iface = gr.Interface(
35
  fn=process,
36
  inputs=[image, texts],
37
  outputs=scores,
38
- examples=[],
 
 
 
 
 
 
 
 
 
39
  allow_flagging="never",
40
  )
41
 
 
35
  fn=process,
36
  inputs=[image, texts],
37
  outputs=scores,
38
+ examples=[
39
+ [
40
+ "example1.jpg",
41
+ "a metal band on stage, a chamber orchestra on stage, a giant rubber duck, a machine learning meetup",
42
+ ],
43
+ [
44
+ "example2.jpg",
45
+ "medieval art, religious art, a group of angels, a movie poster",
46
+ ],
47
+ ],
48
  allow_flagging="never",
49
  )
50