File size: 447 Bytes
7439772 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import streamlit as st
from polish import polish_sentence_to_latin
st.title("Language Transliteration Interface")
input_string = st.text_input("Enter a Polish word/sentence to transliterate :")
if st.button("Transliterate"):
if input_string:
output_string = polish_sentence_to_latin(input_string)
st.subheader("Transliterated Output:")
st.write(output_string)
else:
st.warning("Please enter a string.") |