edit info
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ st.set_page_config(
|
|
20 |
|
21 |
with st.container():
|
22 |
st.markdown('## 📑 Machine Translation')
|
23 |
-
st.write('
|
24 |
|
25 |
lang_list = model.get_languages()
|
26 |
|
@@ -33,7 +33,7 @@ target_langs = ''
|
|
33 |
with st.form(key='nmt'):
|
34 |
text = st.text_area(
|
35 |
label='Enter text',
|
36 |
-
#placeholder='Enter a sentence. Pāḷi translation is not available now.', 1.0.0 does not have
|
37 |
help='Auto detect input language 170+.')
|
38 |
target_langs = st.multiselect(
|
39 |
'Translate to (can select more than one language)',
|
|
|
20 |
|
21 |
with st.container():
|
22 |
st.markdown('## 📑 Machine Translation')
|
23 |
+
st.write('This is a testing of EasyNMT and opus-mt model with Streamlit.')
|
24 |
|
25 |
lang_list = model.get_languages()
|
26 |
|
|
|
33 |
with st.form(key='nmt'):
|
34 |
text = st.text_area(
|
35 |
label='Enter text',
|
36 |
+
# placeholder='Enter a sentence. Pāḷi translation is not available now.', 1.0.0 does not have
|
37 |
help='Auto detect input language 170+.')
|
38 |
target_langs = st.multiselect(
|
39 |
'Translate to (can select more than one language)',
|