gpucce commited on
Commit
3a292cb
1 Parent(s): 6c05182

better formatting

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -28,13 +28,11 @@ iface = gr.Interface(
28
  outputs=gr.Text(label="Caption output"),
29
  title="CoCa: Contrastive Captioners",
30
  description=(
31
- """<p>An open source implementation of <b>CoCa: Contrastive Captioners are Image-Text Foundation Models</b> <a href=https://arxiv.org/abs/2205.01917>https://arxiv.org/abs/2205.01917.</a></p><br/>
32
- <p>Built using <a href=https://github.com/mlfoundations/open_clip>open_clip</a> with an effort from <a href=https://laion.ai/>LAION</a>.</p><br/>
33
- <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.<br/>
34
- <a href="https://huggingface.co/spaces/laion/CoCa?duplicate=true">
35
- <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
36
- </p>"""
37
  ),
 
38
  examples=[path.as_posix() for path in paths],
39
  )
40
  iface.launch()
 
28
  outputs=gr.Text(label="Caption output"),
29
  title="CoCa: Contrastive Captioners",
30
  description=(
31
+ """<br> An open source implementation of <strong>CoCa: Contrastive Captioners are Image-Text Foundation Models</strong> <a href=https://arxiv.org/abs/2205.01917>https://arxiv.org/abs/2205.01917.</a>
32
+ <br> Built using <a href=https://github.com/mlfoundations/open_clip>open_clip</a> with an effort from <a href=https://laion.ai/>LAION</a>.
33
+ <br> For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.<a href="https://huggingface.co/spaces/laion/CoCa?duplicate=true"> <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>"""
 
 
 
34
  ),
35
+ article="""""",
36
  examples=[path.as_posix() for path in paths],
37
  )
38
  iface.launch()