Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,22 +12,22 @@ def translate2(text):
|
|
12 |
return translated_text[0]
|
13 |
|
14 |
|
15 |
-
|
16 |
|
17 |
with st.sidebar:
|
18 |
-
|
19 |
-
|
20 |
|
21 |
st.markdown("## About")
|
22 |
st.markdown("---")
|
23 |
|
24 |
st.markdown('''
|
25 |
-
This App powered by [Mhassanen/nllb-200-600M-En-Ar-finetuned](https://huggingface.co/Mhassanen/nllb-200-600M-En-Ar-finetuned) Language model
|
26 |
''')
|
27 |
# st.markdown("---")
|
28 |
|
29 |
|
30 |
-
st.title("
|
31 |
|
32 |
text_to_translate = st.text_area("Enter text in English:")
|
33 |
|
|
|
12 |
return translated_text[0]
|
13 |
|
14 |
|
15 |
+
st.set_page_config(page_title="English to Arabic Translation", page_icon="logo.png")
|
16 |
|
17 |
with st.sidebar:
|
18 |
+
st.image("logo.png", width=70)
|
19 |
+
st.markdown('<div style="position: absolute; left: 5px;"></div>', unsafe_allow_html=True)
|
20 |
|
21 |
st.markdown("## About")
|
22 |
st.markdown("---")
|
23 |
|
24 |
st.markdown('''
|
25 |
+
- This App powered by [Mhassanen/nllb-200-600M-En-Ar-finetuned](https://huggingface.co/Mhassanen/nllb-200-600M-En-Ar-finetuned) Language model
|
26 |
''')
|
27 |
# st.markdown("---")
|
28 |
|
29 |
|
30 |
+
st.title("Try Now!")
|
31 |
|
32 |
text_to_translate = st.text_area("Enter text in English:")
|
33 |
|