kushagra124 commited on
Commit
ff9f53e
1 Parent(s): 1f10ad6

adding app with CLIP image segmentation

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,8 +83,8 @@ def shot(image, labels_text,selected_categoty):
83
  iface = gr.Interface(fn=shot,
84
  inputs = ["image","text","text"],
85
  outputs = "image",
86
- description ="Add an Image and list of category to be detected separated by commas",
87
- title = "Zero-shot Image Classification with Prompt ",
88
  examples=[
89
  ["images/room.jpg","bed, table, plant, light, window",'plant'],
90
  ["images/image2.png","banner, building,door, sign","sign"]
 
83
  iface = gr.Interface(fn=shot,
84
  inputs = ["image","text","text"],
85
  outputs = "image",
86
+ description ="Add an Image and lists of category to be detected separated by commas(atleast 2 )",
87
+ title = "Zero-shot Image Segmentation with Prompt ",
88
  examples=[
89
  ["images/room.jpg","bed, table, plant, light, window",'plant'],
90
  ["images/image2.png","banner, building,door, sign","sign"]