kasper-boy
commited on
Commit
•
4ef850b
1
Parent(s):
d4910d8
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ if st.sidebar.button("Translate", key="translate_button"):
|
|
77 |
if text_to_translate:
|
78 |
translated_text = translate_text(text_to_translate, destination_language)
|
79 |
st.markdown("### Translated text")
|
80 |
-
st.text_area("", value=translated_text, height=150, key="translated_text", help="This is the translated text.",
|
81 |
else:
|
82 |
st.warning("Please enter text to translate")
|
83 |
|
|
|
77 |
if text_to_translate:
|
78 |
translated_text = translate_text(text_to_translate, destination_language)
|
79 |
st.markdown("### Translated text")
|
80 |
+
st.text_area("", value=translated_text, height=150, key="translated_text", help="This is the translated text.", style={'fontFamily': 'Courier New', 'color': '#333333', 'backgroundColor': '#ffffff'})
|
81 |
else:
|
82 |
st.warning("Please enter text to translate")
|
83 |
|