stack86 commited on
Commit
31f3bfb
1 Parent(s): 4b6c116

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -53,24 +53,15 @@ if __name__ == "__main__":
53
  description = """
54
  <center><strong><font size='10'>Recognize Anything Model</font></strong></center>
55
  <br>
56
- <p>Welcome to the <a href='https://recognize-anything.github.io/' target='_blank'>Recognize Anything Model</a> / <a href='https://tag2text.github.io/Tag2Text' target='_blank'>Tag2Text Model</a> demo!</p>
57
  <li>
58
  <b>Recognize Anything Model:</b> Upload your image to get the <b>English and Chinese tags</b>!
59
  </li>
60
  <li>
61
  <b>Tag2Text Model:</b> Upload your image to get the <b>tags and caption</b>! (Optional: Specify tags to get the corresponding caption.)
62
  </li>
63
- <p><b>More over:</b> Combine with <a href='https://github.com/IDEA-Research/Grounded-Segment-Anything' target='_blank'>Grounded-SAM</a>, you can get <b>boxes and masks</b>! Please run <a href='https://github.com/xinyu1205/recognize-anything/blob/main/gui_demo.ipynb' target='_blank'>this notebook</a> to try out!</p>
64
- <p>Great thanks to <a href='https://huggingface.co/majinyu' target='_blank'>Ma Jinyu</a>, the major contributor of this demo!</p>
65
  """ # noqa
66
 
67
  article = """
68
- <p style='text-align: center'>
69
- RAM and Tag2Text are trained on open-source datasets, and we are persisting in refining and iterating upon it.<br/>
70
- <a href='https://recognize-anything.github.io/' target='_blank'>Recognize Anything: A Strong Image Tagging Model</a>
71
- |
72
- <a href='https://tag2text.github.io/' target='_blank'>Tag2Text: Guiding Language-Image Model via Image Tagging</a>
73
- </p>
74
  """ # noqa
75
 
76
  with gr.Blocks(title="Recognize Anything Model") as demo:
 
53
  description = """
54
  <center><strong><font size='10'>Recognize Anything Model</font></strong></center>
55
  <br>
 
56
  <li>
57
  <b>Recognize Anything Model:</b> Upload your image to get the <b>English and Chinese tags</b>!
58
  </li>
59
  <li>
60
  <b>Tag2Text Model:</b> Upload your image to get the <b>tags and caption</b>! (Optional: Specify tags to get the corresponding caption.)
61
  </li>
 
 
62
  """ # noqa
63
 
64
  article = """
 
 
 
 
 
 
65
  """ # noqa
66
 
67
  with gr.Blocks(title="Recognize Anything Model") as demo: