cdleong commited on
Commit
58b95fa
1 Parent(s): c72df41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,10 +3,11 @@ import langcodes
3
 
4
  st.write("# Language code/tag search")
5
  st.write("Fed up with language tag confusion? Here's your one-stop shop!")
 
6
  # https://huggingface.co/blog/streamlit-spaces
7
  # https://github.com/psf/requests-html
8
  # https://docs.streamlit.io/library/api-reference/write-magic/st.write
9
- langtext = st.text_input("Try typing your language in here! Accepts either codes like `eng`/`en`, or full names like `English`", "english")
10
 
11
  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.")
12
 
 
3
 
4
  st.write("# Language code/tag search")
5
  st.write("Fed up with language tag confusion? Here's your one-stop shop!")
6
+ st.write("Try typing your language below! Accepts either codes like `eng`/`en`, or full names like `English`, and we will use the [langcodes](https://github.com/rspeer/langcodes) library to figure out the correct modern BCP-47 code according to [official W3 Guidelines](https://www.w3.org/International/questions/qa-choosing-language-tags)")
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