cdleong commited on
Commit
b038dc3
·
1 Parent(s): 6570b48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,4 +4,5 @@ import langcodes
4
  # https://huggingface.co/blog/streamlit-spaces
5
  langtext = st.text_area("language code", "en")
6
  found = langcodes.find(langtext)
7
- st.write(found)
 
 
4
  # https://huggingface.co/blog/streamlit-spaces
5
  langtext = st.text_area("language code", "en")
6
  found = langcodes.find(langtext)
7
+ st.write(f"langcodes found the following tag: {found}")
8
+ st.write(f"Display name: {found.display_name()}")