Spaces:
Runtime error
Runtime error
add duplicate spaces badge
Browse files
app.py
CHANGED
|
@@ -28,8 +28,12 @@ iface = gr.Interface(
|
|
| 28 |
outputs=gr.Text(label="Caption output"),
|
| 29 |
title="CoCa: Contrastive Captioners",
|
| 30 |
description=(
|
| 31 |
-
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
),
|
| 34 |
examples=[path.as_posix() for path in paths],
|
| 35 |
)
|
|
|
|
| 28 |
outputs=gr.Text(label="Caption output"),
|
| 29 |
title="CoCa: Contrastive Captioners",
|
| 30 |
description=(
|
| 31 |
+
"""<p>An open source implementation of **CoCa: Contrastive Captioners are Image-Text Foundation Models** https://arxiv.org/abs/2205.01917.</p><br/>
|
| 32 |
+
<p>Built using [open_clip](https://github.com/mlfoundations/open_clip) with an effort from [LAION](https://laion.ai/).</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 |
)
|