Spaces:
Running
Running
Update abc.txt
Browse files
abc.txt
CHANGED
@@ -13,6 +13,18 @@ else:
|
|
13 |
|
14 |
# Streamlit App UI Setup
|
15 |
st.title("Text-to-Speech with Kokoro")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
st.sidebar.header("Configuration & Instructions")
|
17 |
|
18 |
# Sidebar Instructions
|
@@ -45,8 +57,12 @@ st.sidebar.markdown("""
|
|
45 |
Enjoy experimenting with the text-to-speech conversion, and feel free to try different voices, speeds, and languages!
|
46 |
""")
|
47 |
|
|
|
|
|
|
|
|
|
48 |
# User input for text, language, and voice settings
|
49 |
-
input_text = st.text_area("Enter your text here", "The sky above the port was the color of television...")
|
50 |
lang_code = st.selectbox("Select Language", ['a', 'b', 'e', 'f', 'h', 'i', 'p', 'z', 'j'])
|
51 |
voice = st.selectbox("Select Voice", ['af_alloy', 'af_aoede', 'af_bella', 'af_heart', 'af_jessica', 'af_kore', 'af_nicole', 'af_nova', 'af_river', 'af_sarah', 'af_sky',
|
52 |
'am_adam', 'am_echo', 'am_eric', 'am_fenrir', 'am_liam', 'am_michael', 'am_onyx', 'am_puck', 'am_santa',
|
|
|
13 |
|
14 |
# Streamlit App UI Setup
|
15 |
st.title("Text-to-Speech with Kokoro")
|
16 |
+
# Expander section to display information in multiple languages
|
17 |
+
with st.expander("Sample Prompt!"):
|
18 |
+
st.markdown("""
|
19 |
+
- My name is Shukdev. (In English)
|
20 |
+
- Mi nombre es Shukdev. (In Spanish)
|
21 |
+
- Je m'appelle Choukdev. (In French)
|
22 |
+
- मेरा नाम शुकदेव है. (In Hindi)
|
23 |
+
- Il mio nome è Shukdev. (In Italy)
|
24 |
+
- Meu nome é Sukhdev. (In Portuguese, Brazil)
|
25 |
+
- 我叫苏赫德夫。(In Chinese)
|
26 |
+
- 私の名前はスクデフです。(In Japanese)
|
27 |
+
""")
|
28 |
st.sidebar.header("Configuration & Instructions")
|
29 |
|
30 |
# Sidebar Instructions
|
|
|
57 |
Enjoy experimenting with the text-to-speech conversion, and feel free to try different voices, speeds, and languages!
|
58 |
""")
|
59 |
|
60 |
+
st.sidebar.markdown("""
|
61 |
+
### Courtesy: [Kokoro](https://huggingface.co/hexgrad/Kokoro-82M?fbclid=IwY2xjawIKqzxleHRuA2FlbQIxMAABHaf9GldgYOzXktNuoRtNKqd-aL7r-S7zPGyC8ttYOiG2zYfQqLyV4Qm75A_aem_0wKLC2C87ZZ2F04WjPJbtA)
|
62 |
+
""")
|
63 |
+
|
64 |
# User input for text, language, and voice settings
|
65 |
+
input_text = st.text_area("Enter your text here", placeholder="The sky above the port was the color of television...")
|
66 |
lang_code = st.selectbox("Select Language", ['a', 'b', 'e', 'f', 'h', 'i', 'p', 'z', 'j'])
|
67 |
voice = st.selectbox("Select Voice", ['af_alloy', 'af_aoede', 'af_bella', 'af_heart', 'af_jessica', 'af_kore', 'af_nicole', 'af_nova', 'af_river', 'af_sarah', 'af_sky',
|
68 |
'am_adam', 'am_echo', 'am_eric', 'am_fenrir', 'am_liam', 'am_michael', 'am_onyx', 'am_puck', 'am_santa',
|