Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ st.write("Try typing your language below! Accepts either codes like `eng`/`en`,
|
|
12 |
# https://github.com/psf/requests-html
|
13 |
# https://docs.streamlit.io/library/api-reference/write-magic/st.write
|
14 |
example_valid_lookups = ["zh-CN", "Chinese", "zh-Latn-pinyin", "en-Latn-US", "en", "English", "fr-CA", "French (Canada)", "français", "法语"]
|
15 |
-
langtext = st.text_input("Language Code/Tag Lookup using langcodes", "
|
16 |
|
17 |
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.")
|
18 |
|
|
|
12 |
# https://github.com/psf/requests-html
|
13 |
# https://docs.streamlit.io/library/api-reference/write-magic/st.write
|
14 |
example_valid_lookups = ["zh-CN", "Chinese", "zh-Latn-pinyin", "en-Latn-US", "en", "English", "fr-CA", "French (Canada)", "français", "法语"]
|
15 |
+
langtext = st.text_input("Language Code/Tag Lookup using langcodes", "Swahili", help=f"Try language codes or language names! Examples: {example_valid_lookups}").strip()
|
16 |
|
17 |
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.")
|
18 |
|