Spaces:
Runtime error
Runtime error
Update app.py
#4
by
UnarineLeo
- opened
app.py
CHANGED
@@ -115,6 +115,7 @@ 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://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>
|
119 |
<a href="https://huggingface.co/papers/1911.02116" target="_blank"><img alt="arxiv" src="https://img.shields.io/badge/arxiv-1911.02116-blue"></a>
|
120 |
|
@@ -357,9 +358,10 @@ def compute(sentences, version = 'v3'):
|
|
357 |
# render_svg(open("assets/glotlid_logo.svg").read())
|
358 |
|
359 |
render_metadata()
|
|
|
360 |
img1, img2, img3 = st.columns(3)
|
361 |
with img2:
|
362 |
-
with st.container(
|
363 |
st.image("logo_transparent_small.png")
|
364 |
|
365 |
st.markdown("**DSFSI** Language Identification (LID) Inference Endpoint Created with **HuggingFace Spaces**.")
|
|
|
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/github/dsfsi/za-lid?logoColor=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>
|
121 |
|
|
|
358 |
# render_svg(open("assets/glotlid_logo.svg").read())
|
359 |
|
360 |
render_metadata()
|
361 |
+
|
362 |
img1, img2, img3 = st.columns(3)
|
363 |
with img2:
|
364 |
+
with st.container():
|
365 |
st.image("logo_transparent_small.png")
|
366 |
|
367 |
st.markdown("**DSFSI** Language Identification (LID) Inference Endpoint Created with **HuggingFace Spaces**.")
|