better formatting
Browse files27 unmodified lines2829303132333435363738394027 unmodified linesoutputs=gr.Text(label="Caption output"),title="CoCa: Contrastive Captioners",description=("""<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/><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/><p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.<br/><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></p>"""),examples=[path.as_posix() for path in paths],)iface.launch()27 unmodified lines282930313233343536373827 unmodified linesoutputs=gr.Text(label="Caption output"),title="CoCa: Contrastive Captioners",description=("""<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><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>.<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>"""),article="""""",examples=[path.as_posix() for path in paths],)iface.launch()
app.py+4-6