wang2246478872
commited on
Commit
•
eddb252
1
Parent(s):
a75c207
remove header
Browse files
app.py
CHANGED
@@ -36,7 +36,6 @@ def chose_lang_format(option):
|
|
36 |
|
37 |
|
38 |
st.title('💿facebook-m2m100_1.2B')
|
39 |
-
st.subheader('原文')
|
40 |
with st.form('my_form'):
|
41 |
text = st.text_area('Enter text:', '')
|
42 |
cols = st.columns(3)
|
@@ -46,7 +45,6 @@ with st.form('my_form'):
|
|
46 |
to = cols[2].selectbox(
|
47 |
'to', options=list(langs.keys()), format_func=chose_lang_format)
|
48 |
|
49 |
-
st.subheader('翻译结果')
|
50 |
placeholder = st.markdown("", unsafe_allow_html=True)
|
51 |
if submitted:
|
52 |
with st.spinner("Translating..."):
|
|
|
36 |
|
37 |
|
38 |
st.title('💿facebook-m2m100_1.2B')
|
|
|
39 |
with st.form('my_form'):
|
40 |
text = st.text_area('Enter text:', '')
|
41 |
cols = st.columns(3)
|
|
|
45 |
to = cols[2].selectbox(
|
46 |
'to', options=list(langs.keys()), format_func=chose_lang_format)
|
47 |
|
|
|
48 |
placeholder = st.markdown("", unsafe_allow_html=True)
|
49 |
if submitted:
|
50 |
with st.spinner("Translating..."):
|