utkarsh2299 commited on
Commit
1649514
·
verified ·
1 Parent(s): 1fbbb1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import json
4
  import base64
5
 
6
  # Streamlit UI
7
- st.title("TTS IITM Speech Lab")
8
 
9
  # User inputs
10
  text = st.text_area("Enter the text to convert to speech")
@@ -14,7 +14,7 @@ lang_options = ['Hindi', 'Malayalam', 'Manipuri', 'Marathi', 'Kannada', 'English
14
  lang = st.selectbox("Select language", lang_options)
15
 
16
  # Gender selection
17
- gender_options = ['Female', 'Male']
18
  gender = st.selectbox("Select gender", gender_options)
19
 
20
  # Dictionary mapping language and gender to API URLs
 
4
  import base64
5
 
6
  # Streamlit UI
7
+ st.title("TTS")
8
 
9
  # User inputs
10
  text = st.text_area("Enter the text to convert to speech")
 
14
  lang = st.selectbox("Select language", lang_options)
15
 
16
  # Gender selection
17
+ gender_options = ['Male', 'Female']
18
  gender = st.selectbox("Select gender", gender_options)
19
 
20
  # Dictionary mapping language and gender to API URLs