Spaces:
Runtime error
Runtime error
better formatting
Browse files
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 |
-
|
| 32 |
-
<
|
| 33 |
-
<
|
| 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()
|