mohAhmad commited on
Commit
c7928d9
1 Parent(s): ba44a1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -18,7 +18,7 @@ def main():
18
  """
19
  <div style="background-color:#FFE5B4;padding:10px;margin-bottom:30px">
20
  <h1 style="color:black;text-align:center;margin-top:20px;margin-bottom:-10px">LangToLang</h1>
21
- <h2 style="color:black;text-align:center;">Language Translator</h2>
22
  </div>
23
  """, unsafe_allow_html=True)
24
 
@@ -43,7 +43,7 @@ def main():
43
  }
44
 
45
  src_lang = st.sidebar.selectbox("Select Source Language", list(language_dict.keys()), index=0)
46
- tgt_lang = st.sidebar.selectbox("Select Target Language", list(language_dict.keys()), index=1)
47
 
48
  # Text input area
49
  text = st.text_area("Enter Text to Translate")
@@ -64,8 +64,8 @@ def main():
64
  # Footer
65
  st.sidebar.markdown(
66
  """
67
- <div style="background-color:#BF6900;padding:10px;border-radius:10px;text-align:center">
68
- <p style="color:white;">Developed by AhmadRaza</p>
69
  </div>
70
  """, unsafe_allow_html=True)
71
 
 
18
  """
19
  <div style="background-color:#FFE5B4;padding:10px;margin-bottom:30px">
20
  <h1 style="color:black;text-align:center;margin-top:20px;margin-bottom:-10px">LangToLang</h1>
21
+ <h2 style="color:black;text-align:center;margin-top:-20px">Language Translator</h2>
22
  </div>
23
  """, unsafe_allow_html=True)
24
 
 
43
  }
44
 
45
  src_lang = st.sidebar.selectbox("Select Source Language", list(language_dict.keys()), index=0)
46
+ tgt_lang = st.selectbox("Select Target Language", list(language_dict.keys()), index=1)
47
 
48
  # Text input area
49
  text = st.text_area("Enter Text to Translate")
 
64
  # Footer
65
  st.sidebar.markdown(
66
  """
67
+ <div style="background-color:#FFE5B4;padding:10px;border-radius:10px;text-align:center">
68
+ <p style="color:black;">Developed by AhmadRaza</p>
69
  </div>
70
  """, unsafe_allow_html=True)
71