Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -266,11 +266,11 @@ if __name__ == "__main__":
|
|
266 |
outputs="image",
|
267 |
title="CLIP as RNN: Segment Countless Visual Concepts without Training Endeavor",
|
268 |
description="This is the official demo for CLIP as RNN. Please upload an image and type in the class names (connected by ',' e.g. cat,dog,human) you want to segment. The model will generate the segmentation masks for the input image. You can also adjust the clip thresh, mask thresh and confidence thresh to get better results.",
|
269 |
-
examples=[["demo/pokemon.jpg", "Pikachu,Eevee", 0.6, 0.6, 0, "
|
270 |
["demo/Eiffel_tower.jpg", "Eiffel Tower",
|
271 |
-
0.6, 0.6, 0, "
|
272 |
["demo/superhero.jpeg", "Batman,Superman,Wonder Woman,Flash,Cyborg",
|
273 |
-
0.6, 0.6, 0, "
|
274 |
])
|
275 |
demo.launch(share=True)
|
276 |
|
|
|
266 |
outputs="image",
|
267 |
title="CLIP as RNN: Segment Countless Visual Concepts without Training Endeavor",
|
268 |
description="This is the official demo for CLIP as RNN. Please upload an image and type in the class names (connected by ',' e.g. cat,dog,human) you want to segment. The model will generate the segmentation masks for the input image. You can also adjust the clip thresh, mask thresh and confidence thresh to get better results.",
|
269 |
+
examples=[["demo/pokemon.jpg", "Pikachu,Eevee", 0.6, 0.6, 0, "CRF", 0.95, 0.7, 0.6, 0.01],
|
270 |
["demo/Eiffel_tower.jpg", "Eiffel Tower",
|
271 |
+
0.6, 0.6, 0, "CRF", 0.95, 0.7, 0.6, 0.01],
|
272 |
["demo/superhero.jpeg", "Batman,Superman,Wonder Woman,Flash,Cyborg",
|
273 |
+
0.6, 0.6, 0, "CRF", 0.89, 0.65, 0.5, 0.03],
|
274 |
])
|
275 |
demo.launch(share=True)
|
276 |
|