cdleong commited on
Commit
34ca170
1 Parent(s): b038dc3

Update app.py

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