Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,11 +70,11 @@ def inference(raw_image, model_n , input_tag):
|
|
| 70 |
def build_gui():
|
| 71 |
|
| 72 |
description = """
|
| 73 |
-
<center><strong><font size='10'>
|
| 74 |
<br>
|
| 75 |
-
Welcome to the
|
| 76 |
<li>
|
| 77 |
-
<b>
|
| 78 |
</li>
|
| 79 |
<li>
|
| 80 |
<b>Tag2Text Model:</b> Upload your image to get the <b>tags</b> and <b>caption</b> of the image.
|
|
@@ -84,7 +84,7 @@ def build_gui():
|
|
| 84 |
|
| 85 |
article = """
|
| 86 |
<p style='text-align: center'>
|
| 87 |
-
|
| 88 |
<a href='https://recognize-anything.github.io/' target='_blank'>Recognize Anything: A Strong Image Tagging Model</a>
|
| 89 |
|
|
| 90 |
<a href='https://https://tag2text.github.io/' target='_blank'>Tag2Text: Guiding Language-Image Model via Image Tagging</a>
|
|
|
|
| 70 |
def build_gui():
|
| 71 |
|
| 72 |
description = """
|
| 73 |
+
<center><strong><font size='10'>Image to Hashtag</font></strong></center>
|
| 74 |
<br>
|
| 75 |
+
Welcome to the Image to Hashtag Model demo! <br><br>
|
| 76 |
<li>
|
| 77 |
+
<b>Image to Hashtag Model:</b> Upload your image to get the <b>English and Chinese hashtags for the image tags</b>!
|
| 78 |
</li>
|
| 79 |
<li>
|
| 80 |
<b>Tag2Text Model:</b> Upload your image to get the <b>tags</b> and <b>caption</b> of the image.
|
|
|
|
| 84 |
|
| 85 |
article = """
|
| 86 |
<p style='text-align: center'>
|
| 87 |
+
Image to Hashtag and Tag2Text is training on open-source datasets, and we are persisting in refining and iterating upon it.<br/>
|
| 88 |
<a href='https://recognize-anything.github.io/' target='_blank'>Recognize Anything: A Strong Image Tagging Model</a>
|
| 89 |
|
|
| 90 |
<a href='https://https://tag2text.github.io/' target='_blank'>Tag2Text: Guiding Language-Image Model via Image Tagging</a>
|