Spaces:
Runtime error
Runtime error
frontmatter
Browse files
app.py
CHANGED
|
@@ -26,7 +26,12 @@ iface = gr.Interface(
|
|
| 26 |
fn=output_generate,
|
| 27 |
inputs=gr.Image(label="Input image", type="pil"),
|
| 28 |
outputs=gr.Text(label="Caption output"),
|
| 29 |
-
title="CoCa: Contrastive Captioners
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
examples=[path.as_posix() for path in paths],
|
| 31 |
)
|
| 32 |
iface.launch()
|
|
|
|
| 26 |
fn=output_generate,
|
| 27 |
inputs=gr.Image(label="Input image", type="pil"),
|
| 28 |
outputs=gr.Text(label="Caption output"),
|
| 29 |
+
title="CoCa: Contrastive Captioners",
|
| 30 |
+
description=(
|
| 31 |
+
"An open source implementation of **Contrastive Captioners** https://arxiv.org/abs/2205.01917. "
|
| 32 |
+
"Built using [open_clip](https://github.com/mlfoundations/open_clip) with an effort from [LAION](https://laion.ai/)"
|
| 33 |
+
" and the support of [Stability AI](https://stability.ai/)"
|
| 34 |
+
),
|
| 35 |
examples=[path.as_posix() for path in paths],
|
| 36 |
)
|
| 37 |
iface.launch()
|