Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,8 @@ if lang is not None:
|
|
64 |
display = lang.display_name()
|
65 |
st.write("## Results")
|
66 |
st.write(f"Best-match BCP-47 tag for '{langtext}', according to the langcodes library: {lang}")
|
67 |
-
st.write(f"Breakdown of tag components:
|
|
|
68 |
st.write(f"Display name for {lang}: {lang.display_name()}")
|
69 |
st.write(f"Autonym for {lang}: {lang.autonym()}")
|
70 |
st.write(f"## Correct, standardized, BCP-47 tag for {langtext}, according to the langcodes library: {langcodes.standardize_tag(lang)}")
|
|
|
64 |
display = lang.display_name()
|
65 |
st.write("## Results")
|
66 |
st.write(f"Best-match BCP-47 tag for '{langtext}', according to the langcodes library: {lang}")
|
67 |
+
st.write(f"Breakdown of tag components:")
|
68 |
+
st.write(lang.describe())
|
69 |
st.write(f"Display name for {lang}: {lang.display_name()}")
|
70 |
st.write(f"Autonym for {lang}: {lang.autonym()}")
|
71 |
st.write(f"## Correct, standardized, BCP-47 tag for {langtext}, according to the langcodes library: {langcodes.standardize_tag(lang)}")
|