cdleong commited on
Commit
293724f
1 Parent(s): 4a2ebc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -35,7 +35,8 @@ if lang is None:
35
  if lang is not None:
36
  display = lang.display_name()
37
 
38
- st.write(f"Correct BCP-47 tag for {langtext}, according to the langcodes library: {lang}")
39
  st.write(f"Display name for {lang}: {lang.display_name()}")
40
  st.write(f"Autonym for {lang}: {lang.autonym()}")
41
  st.write(f"Alpha3 version (deprecated): {lang.to_alpha3()}")
 
 
35
  if lang is not None:
36
  display = lang.display_name()
37
 
38
+ st.write(f"BCP-47 tag for {langtext}, according to the langcodes library: {lang}")
39
  st.write(f"Display name for {lang}: {lang.display_name()}")
40
  st.write(f"Autonym for {lang}: {lang.autonym()}")
41
  st.write(f"Alpha3 version (deprecated): {lang.to_alpha3()}")
42
+ st.write(f"Correct, standardized, BCP-47 tag for {langtext}, according to the langcodes library: {langcodes.standardize_tag(lang)}")