Spaces:
Runtime error
Runtime error
UnarineLeo
commited on
Commit
•
03ac8b8
1
Parent(s):
982d776
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def get_name(label):
|
|
104 |
def render_svg(svg):
|
105 |
"""Renders the given svg string."""
|
106 |
b64 = base64.b64encode(svg.encode("utf-8")).decode("utf-8")
|
107 |
-
html = rf'<p align="center"> <img src="data:image/svg+xml;base64,{b64}", width="40%"
|
108 |
c = st.container()
|
109 |
c.write(html, unsafe_allow_html=True)
|
110 |
|
@@ -115,11 +115,9 @@ def render_metadata():
|
|
115 |
html = r"""<p align="center">
|
116 |
<a href="https://huggingface.co/dsfsi/za-lid"><img alt="HuggingFace Model" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-8A2BE2"></a>
|
117 |
<a href="https://github.com/dsfsi/za-lid"><img alt="GitHub" src="https://img.shields.io/badge/%F0%9F%93%A6%20GitHub-orange"></a>
|
118 |
-
<a href="https://github.com/dsfsi/za-lid/blob/master/LICENSE.md"><img alt="GitHub license" src="https://img.shields.io/
|
119 |
<a href="https://docs.google.com/forms/d/e/1FAIpQLSf7S36dyAUPx2egmXbFpnTBuzoRulhL5Elu-N1eoMhaO7v10w/viewform" target="_blank"><img alt="Feedback Form" src="https://img.shields.io/badge/Feedback-Form-brightgreen"></a>
|
120 |
-
<a href="https://huggingface.co/papers/1911.02116" target="_blank"><img alt="arxiv" src="https://img.shields.io/badge/arxiv-1911.02116-blue"></a>
|
121 |
-
|
122 |
-
</p>"""
|
123 |
c = st.container()
|
124 |
c.write(html, unsafe_allow_html=True)
|
125 |
|
|
|
104 |
def render_svg(svg):
|
105 |
"""Renders the given svg string."""
|
106 |
b64 = base64.b64encode(svg.encode("utf-8")).decode("utf-8")
|
107 |
+
html = rf'<p align="center"> <img src="data:image/svg+xml;base64,{b64}", width="40%"/></p>'
|
108 |
c = st.container()
|
109 |
c.write(html, unsafe_allow_html=True)
|
110 |
|
|
|
115 |
html = r"""<p align="center">
|
116 |
<a href="https://huggingface.co/dsfsi/za-lid"><img alt="HuggingFace Model" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-8A2BE2"></a>
|
117 |
<a href="https://github.com/dsfsi/za-lid"><img alt="GitHub" src="https://img.shields.io/badge/%F0%9F%93%A6%20GitHub-orange"></a>
|
118 |
+
<a href="https://github.com/dsfsi/za-lid/blob/master/LICENSE.md"><img alt="GitHub license" src="https://img.shields.io/badge/Github%20Licence-blue"></a>
|
119 |
<a href="https://docs.google.com/forms/d/e/1FAIpQLSf7S36dyAUPx2egmXbFpnTBuzoRulhL5Elu-N1eoMhaO7v10w/viewform" target="_blank"><img alt="Feedback Form" src="https://img.shields.io/badge/Feedback-Form-brightgreen"></a>
|
120 |
+
<a href="https://huggingface.co/papers/1911.02116" target="_blank"><img alt="arxiv" src="https://img.shields.io/badge/arxiv-1911.02116-blue"></a></p>"""
|
|
|
|
|
121 |
c = st.container()
|
122 |
c.write(html, unsafe_allow_html=True)
|
123 |
|