Shweta7171 commited on
Commit
e158b59
·
verified ·
1 Parent(s): 6c5c329

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -2
app.py CHANGED
@@ -2,9 +2,34 @@ import streamlit as st
2
  from utils import *
3
  import io
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  def main():
6
- st.title('Text-to-Speech and Speech-to-Text Converter')
7
- st.sidebar.title('Options')
8
 
9
  mode = st.sidebar.selectbox('Select Mode', ['Text-to-speech', 'Speech-to-text'])
10
 
 
2
  from utils import *
3
  import io
4
 
5
+ # Customizing the appearance
6
+ st.markdown(
7
+ """
8
+ <style>
9
+ .big-font {
10
+ font-size: 40px !important;
11
+ color: #006699 !important;
12
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
13
+ }
14
+ .sidebar-content {
15
+ background-color: #f0f2f6;
16
+ }
17
+ .stButton>button {
18
+ background-color: #006699;
19
+ color: white;
20
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
21
+ font-size: 18px;
22
+ border-radius: 5px;
23
+ padding: 10px 20px;
24
+ }
25
+ </style>
26
+ """,
27
+ unsafe_allow_html=True
28
+ )
29
+
30
  def main():
31
+ st.title("🎙️ GenAI Speech Text Converter")
32
+ st.sidebar.title("Options")
33
 
34
  mode = st.sidebar.selectbox('Select Mode', ['Text-to-speech', 'Speech-to-text'])
35