Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,10 +2,14 @@ import streamlit as st
|
|
| 2 |
import epitran
|
| 3 |
|
| 4 |
if __name__ == "__main__":
|
| 5 |
-
iso_lang_code = st.text_input(
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
-
iso_script_code = st.text_input(
|
|
|
|
| 9 |
st.write(f'iso code is {iso_script_code }')
|
| 10 |
|
| 11 |
|
|
|
|
| 2 |
import epitran
|
| 3 |
|
| 4 |
if __name__ == "__main__":
|
| 5 |
+
iso_lang_code = st.text_input(
|
| 6 |
+
label="Three-letter [ISO-639-3](https://iso639-3.sil.org/) language code",
|
| 7 |
+
value="swa"
|
| 8 |
+
)
|
| 9 |
+
st.write(f"iso code is {iso_lang_code}")
|
| 10 |
|
| 11 |
+
iso_script_code = st.text_input(
|
| 12 |
+
label="[ISO 15924](https://unicode.org/iso15924/iso15924-codes.html) script code, e.g. 'Latn' for Latin script, 'Hans' for Chinese script, etc.", value="Latn")
|
| 13 |
st.write(f'iso code is {iso_script_code }')
|
| 14 |
|
| 15 |
|