Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,8 @@ app = Flask(__name__)
|
|
14 |
|
15 |
|
16 |
# Define article as a global variable
|
|
|
|
|
17 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.10003'>CLIPSeg: Image Segmentation Using Text and Image Prompts</a> | <a href='https://huggingface.co/docs/transformers/main/en/model_doc/clipseg'>HuggingFace docs</a></p>"
|
18 |
|
19 |
def process_image(image, prompt):
|
|
|
14 |
|
15 |
|
16 |
# Define article as a global variable
|
17 |
+
title = "Interactive demo: zero-shot image segmentation with CLIPSeg"
|
18 |
+
description = "Demo for using CLIPSeg, a CLIP-based model for zero- and one-shot image segmentation. To use it, simply upload an image and add a text to mask (identify in the image), or use one of the examples below and click 'submit'. Results will show up in a few seconds."
|
19 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.10003'>CLIPSeg: Image Segmentation Using Text and Image Prompts</a> | <a href='https://huggingface.co/docs/transformers/main/en/model_doc/clipseg'>HuggingFace docs</a></p>"
|
20 |
|
21 |
def process_image(image, prompt):
|