Spaces:
Running
Running
kushagra124
commited on
Commit
•
ff9f53e
1
Parent(s):
1f10ad6
adding app with CLIP image segmentation
Browse files
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
|
87 |
-
title = "Zero-shot Image
|
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"]
|