Commit
·
52b62bc
1
Parent(s):
648fedb
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ with tab1:
|
|
46 |
input_string = selected_example_po
|
47 |
|
48 |
if st.button("Transliterate Polish"):
|
49 |
-
|
50 |
output_string = polish_sentence_to_latin(input_string_polish)
|
51 |
st.subheader("Transliterated Output:")
|
52 |
st.write(output_string)
|
@@ -63,7 +63,7 @@ with tab2:
|
|
63 |
input_string = selected_example_hu
|
64 |
|
65 |
if st.button("Transliterate Hungarian"):
|
66 |
-
if
|
67 |
output_string = hungarian_sentence_to_latin(input_string_hungarian)
|
68 |
st.subheader("Transliterated Output:")
|
69 |
st.write(output_string)
|
|
|
46 |
input_string = selected_example_po
|
47 |
|
48 |
if st.button("Transliterate Polish"):
|
49 |
+
if input_string_polish:
|
50 |
output_string = polish_sentence_to_latin(input_string_polish)
|
51 |
st.subheader("Transliterated Output:")
|
52 |
st.write(output_string)
|
|
|
63 |
input_string = selected_example_hu
|
64 |
|
65 |
if st.button("Transliterate Hungarian"):
|
66 |
+
if input_string_hungarian:
|
67 |
output_string = hungarian_sentence_to_latin(input_string_hungarian)
|
68 |
st.subheader("Transliterated Output:")
|
69 |
st.write(output_string)
|