kushagra124 commited on
Commit
aca86ac
1 Parent(s): 6ab12cc

adding example

Browse files
Files changed (2) hide show
  1. app.py +4 -1
  2. images/city_road.jpg +0 -0
app.py CHANGED
@@ -76,7 +76,10 @@ iface = gr.Interface(fn=shot,
76
  outputs="image",
77
  description="Add an Image and list of category to be detected separated by commas",
78
  title="Zero-shot Image Classification with Prompt ",
79
- examples=[["images/room.jpg","bed,table,plant",'plant']],
 
 
 
80
  # allow_flagging=False,
81
  # analytics_enabled=False,
82
  )
 
76
  outputs="image",
77
  description="Add an Image and list of category to be detected separated by commas",
78
  title="Zero-shot Image Classification with Prompt ",
79
+ examples=[
80
+ ["images/room.jpg","bed,table,plant",'plant'],
81
+ ["images/city_road.jpg","banner,building facade, door","builidng facade"]
82
+ ],
83
  # allow_flagging=False,
84
  # analytics_enabled=False,
85
  )
images/city_road.jpg ADDED