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