hsshin98
commited on
Commit
·
15b069f
1
Parent(s):
14dfb70
example
Browse files- app.py +1 -0
- assets/nyancat_seg.png +0 -0
app.py
CHANGED
@@ -103,6 +103,7 @@ if __name__ == "__main__":
|
|
103 |
fn=predict,
|
104 |
inputs=[gr.Image(), gr.Textbox(placeholder='cat, person, background')],
|
105 |
outputs="image",
|
|
|
106 |
description="""## CAT-Seg Demo
|
107 |
Welcome to the CAT-Seg Demo! Here, we present the CAT-Seg with ViT-L model for open-vocabulary semantic segmentation.
|
108 |
|
|
|
103 |
fn=predict,
|
104 |
inputs=[gr.Image(), gr.Textbox(placeholder='cat, person, background')],
|
105 |
outputs="image",
|
106 |
+
examples=[['assets/nyancat_seg.png', 'cat, pop tart, rainbow, background']],
|
107 |
description="""## CAT-Seg Demo
|
108 |
Welcome to the CAT-Seg Demo! Here, we present the CAT-Seg with ViT-L model for open-vocabulary semantic segmentation.
|
109 |
|
assets/nyancat_seg.png
ADDED
![]() |