Spaces:
Running
Running
Samarth991
commited on
Commit
•
839c9a4
1
Parent(s):
f1e12fd
added example
Browse files
app.py
CHANGED
@@ -98,9 +98,10 @@ iface = gr.Interface(fn=shot,
|
|
98 |
description ="Add an Image and labels to be detected separated by commas(atleast 2)",
|
99 |
title = "Zero-shot Image Segmentation with Prompt",
|
100 |
examples=[
|
101 |
-
[0.4,
|
102 |
-
[0.4,
|
103 |
-
[0.3,0.8,"images/vegetables.jpg","carrot,white radish,brinjal,basket,potato"]
|
|
|
104 |
],
|
105 |
# allow_flagging=False,
|
106 |
# analytics_enabled=False,
|
|
|
98 |
description ="Add an Image and labels to be detected separated by commas(atleast 2)",
|
99 |
title = "Zero-shot Image Segmentation with Prompt",
|
100 |
examples=[
|
101 |
+
[0.4,0.7,"images/room.jpg","chair, plant , flower pot , white cabinet , paintings , decorative plates , books"],
|
102 |
+
[0.4,0.7,"images/seats.jpg","door,table,chairs"],
|
103 |
+
[0.3,0.8,"images/vegetables.jpg","carrot,white radish,brinjal,basket,potato"],
|
104 |
+
[0.4,0.7,"images/dashcam.jpeg","car,sky,road,grassland,trees"]
|
105 |
],
|
106 |
# allow_flagging=False,
|
107 |
# analytics_enabled=False,
|