Spaces:
Runtime error
Runtime error
ThapeloAndrewSindane
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,6 @@ def render_metadata():
|
|
116 |
<a href="https://github.com/cisnlp/GlotLID"><img alt="GitHub" src="https://img.shields.io/badge/%F0%9F%93%A6%20GitHub-orange"></a>
|
117 |
<a href="https://github.com/cisnlp/GlotLID/blob/main/LICENSE"><img alt="GitHub license" src="https://img.shields.io/github/license/cisnlp/GlotLID?logoColor=blue"></a>
|
118 |
<a href="https://github.com/cisnlp/GlotLID"><img alt="GitHub stars" src="https://img.shields.io/github/stars/cisnlp/GlotLID"></a>
|
119 |
-
<a href="https://arxiv.org/abs/2310.16248"><img alt="arXiv" src="https://img.shields.io/badge/arXiv-2310.16248-b31b1b.svg"></a>
|
120 |
</p>"""
|
121 |
c = st.container()
|
122 |
c.write(html, unsafe_allow_html=True)
|
@@ -277,7 +276,7 @@ with tab1:
|
|
277 |
|
278 |
version = st.radio(
|
279 |
"Choose model",
|
280 |
-
["xlmrlarge", "serengeti", "afriberta", "afroxlmrbase", "afrolm", "
|
281 |
captions=["za-XLMR-Large", "za-Serengeti", "za-AfriBERTa", "za-Afro-XLMR-BASE", "za-AfroLM", "za-BERT"],
|
282 |
index = 4,
|
283 |
key = 'version_tab1',
|
@@ -316,7 +315,7 @@ with tab2:
|
|
316 |
|
317 |
version = st.radio(
|
318 |
"Choose model",
|
319 |
-
["xlmrlarge", "serengeti", "afriberta", "afroxlmrbase", "afrolm", "
|
320 |
captions=["za-XLMR-Large", "za-Serengeti", "za-AfriBERTa", "za-Afro-XLMR-BASE", "za-AfroLM", "za-BERT"],
|
321 |
index = 4,
|
322 |
key = 'version_tab2',
|
|
|
116 |
<a href="https://github.com/cisnlp/GlotLID"><img alt="GitHub" src="https://img.shields.io/badge/%F0%9F%93%A6%20GitHub-orange"></a>
|
117 |
<a href="https://github.com/cisnlp/GlotLID/blob/main/LICENSE"><img alt="GitHub license" src="https://img.shields.io/github/license/cisnlp/GlotLID?logoColor=blue"></a>
|
118 |
<a href="https://github.com/cisnlp/GlotLID"><img alt="GitHub stars" src="https://img.shields.io/github/stars/cisnlp/GlotLID"></a>
|
|
|
119 |
</p>"""
|
120 |
c = st.container()
|
121 |
c.write(html, unsafe_allow_html=True)
|
|
|
276 |
|
277 |
version = st.radio(
|
278 |
"Choose model",
|
279 |
+
["xlmrlarge", "serengeti", "afriberta", "afroxlmrbase", "afrolm", "BERT"],
|
280 |
captions=["za-XLMR-Large", "za-Serengeti", "za-AfriBERTa", "za-Afro-XLMR-BASE", "za-AfroLM", "za-BERT"],
|
281 |
index = 4,
|
282 |
key = 'version_tab1',
|
|
|
315 |
|
316 |
version = st.radio(
|
317 |
"Choose model",
|
318 |
+
["xlmrlarge", "serengeti", "afriberta", "afroxlmrbase", "afrolm", "BERT"],
|
319 |
captions=["za-XLMR-Large", "za-Serengeti", "za-AfriBERTa", "za-Afro-XLMR-BASE", "za-AfroLM", "za-BERT"],
|
320 |
index = 4,
|
321 |
key = 'version_tab2',
|