Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import json
|
|
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,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 = ['
|
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
|