Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ st.write("Try typing your language below! Accepts either codes like `eng`/`en`,
|
|
7 |
# https://huggingface.co/blog/streamlit-spaces
|
8 |
# https://github.com/psf/requests-html
|
9 |
# https://docs.streamlit.io/library/api-reference/write-magic/st.write
|
10 |
-
langtext = st.text_input("Language Code/Tag Lookup using langcodes", "english")
|
11 |
|
12 |
st.write("Checking whether the tag is valid. That is, the language, script, territory, and variants (if present) are all tags that have meanings assigned by IANA.")
|
13 |
|
|
|
7 |
# https://huggingface.co/blog/streamlit-spaces
|
8 |
# https://github.com/psf/requests-html
|
9 |
# https://docs.streamlit.io/library/api-reference/write-magic/st.write
|
10 |
+
langtext = st.text_input("Language Code/Tag Lookup using langcodes", "english").strip()
|
11 |
|
12 |
st.write("Checking whether the tag is valid. That is, the language, script, territory, and variants (if present) are all tags that have meanings assigned by IANA.")
|
13 |
|