Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,11 @@ if __name__ == "__main__":
|
|
20 |
st.write(f"Combined code: {combined_code}")
|
21 |
st.info("attempting to instantiate epitran transliterator for your language/script")
|
22 |
epi = epitran.Epitran(combined_code)
|
23 |
-
|
|
|
24 |
transliteration = epi.transliterate(input_text)
|
25 |
-
|
|
|
|
|
26 |
|
27 |
|
|
|
20 |
st.write(f"Combined code: {combined_code}")
|
21 |
st.info("attempting to instantiate epitran transliterator for your language/script")
|
22 |
epi = epitran.Epitran(combined_code)
|
23 |
+
|
24 |
+
st.info(f"transliterating `{input_text}` using {epi}...")
|
25 |
transliteration = epi.transliterate(input_text)
|
26 |
+
|
27 |
+
st.success(transliteration)
|
28 |
+
|
29 |
|
30 |
|