mohAhmad commited on
Commit
39aa229
·
verified ·
1 Parent(s): 3758dc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
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
- <div style="background-color:#FF8C00;padding:10px;border-radius:0px">
20
- <h1 style="color:white;text-align:center;">LangToLang - Language Translator</h1>
21
- </div>
22
- """, unsafe_allow_html=True)
 
 
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")