Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,11 +15,13 @@ def translate_text(text, src_lang, tgt_lang):
|
|
| 15 |
def main():
|
| 16 |
# Set the title with HTML
|
| 17 |
st.markdown(
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
| 23 |
|
| 24 |
# Sidebar with additional options
|
| 25 |
st.sidebar.header("Settings")
|
|
|
|
| 15 |
def main():
|
| 16 |
# Set the title with HTML
|
| 17 |
st.markdown(
|
| 18 |
+
"""
|
| 19 |
+
<div style="background-color:#FF8C00;padding:10px;border-radius:10px">
|
| 20 |
+
<h1 style="color:white;text-align:center;margin-top:20px;">LangToLang</h1>
|
| 21 |
+
<h2 style="color:white;text-align:center;">Language Translator</h2>
|
| 22 |
+
</div>
|
| 23 |
+
""", unsafe_allow_html=True)
|
| 24 |
+
|
| 25 |
|
| 26 |
# Sidebar with additional options
|
| 27 |
st.sidebar.header("Settings")
|