shukdevdatta123 commited on
Commit
cfec890
·
verified ·
1 Parent(s): bc2b0a4

Update abc2.txt

Browse files
Files changed (1) hide show
  1. abc2.txt +16 -11
abc2.txt CHANGED
@@ -20,6 +20,10 @@ with st.expander("Sample Prompt!"):
20
  - 私の名前はスクデフです。(In Japanese)
21
  """)
22
 
 
 
 
 
23
  st.sidebar.header("Configuration & Instructions")
24
 
25
  st.sidebar.markdown("""
@@ -29,15 +33,15 @@ st.sidebar.markdown("""
29
 
30
  2. **Select Language**:
31
  - Choose the language of the input text. The available language options include:
32
- - 🇺🇸 **English** (American English)
33
- - 🇬🇧 **British English**
34
- - 🇪🇸 **Spanish**
35
- - 🇫🇷 **French**
36
- - 🇮🇳 **Hindi**
37
- - 🇮🇹 **Italian**
38
- - 🇧🇷 **Portuguese** (Brazilian)
39
- - 🇨🇳 **Chinese** (Mandarin)
40
- - 🇯🇵 **Japanese**
41
  3. **Select Voice**:
42
  - Choose the voice you want for the speech. There are multiple voice styles based on tone and gender (e.g., af_heart, af_joy, etc.).
43
 
@@ -49,8 +53,9 @@ st.sidebar.markdown("""
49
  - After the audio is generated, you can play it directly within the app or download it as a .wav file by clicking the **"Download Audio"** button.
50
  ### Additional Features:
51
  - **Text Translation**:
52
- - The app can automatically translate the text to English before generating audio. After the translation, you will hear the audio in English with your chosen voice.
53
- Enjoy exploring different languages, voices, and speeds with the text-to-speech conversion!
 
54
  """)
55
 
56
  # User input for text, language, and voice settings
 
20
  - 私の名前はスクデフです。(In Japanese)
21
  """)
22
 
23
+ st.sidebar.markdown("""
24
+ ### Courtesy: [Kokoro](https://huggingface.co/hexgrad/Kokoro-82M?fbclid=IwY2xjawIKqzxleHRuA2FlbQIxMAABHaf9GldgYOzXktNuoRtNKqd-aL7r-S7zPGyC8ttYOiG2zYfQqLyV4Qm75A_aem_0wKLC2C87ZZ2F04WjPJbtA)
25
+ """)
26
+
27
  st.sidebar.header("Configuration & Instructions")
28
 
29
  st.sidebar.markdown("""
 
33
 
34
  2. **Select Language**:
35
  - Choose the language of the input text. The available language options include:
36
+ - 🇺🇸 American English (`a`)
37
+ - 🇬🇧 British English (`b`)
38
+ - 🇪🇸 Spanish (`e`)
39
+ - 🇫🇷 French (`f`)
40
+ - 🇮🇳 Hindi (`h`)
41
+ - 🇮🇹 Italian (`i`)
42
+ - 🇧🇷 Brazilian Portuguese (`p`)
43
+ - 🇨🇳 Mandarin Chinese (`z`)
44
+ - 🇯🇵 Japanese (`j`)
45
  3. **Select Voice**:
46
  - Choose the voice you want for the speech. There are multiple voice styles based on tone and gender (e.g., af_heart, af_joy, etc.).
47
 
 
53
  - After the audio is generated, you can play it directly within the app or download it as a .wav file by clicking the **"Download Audio"** button.
54
  ### Additional Features:
55
  - **Text Translation**:
56
+ - If you enter text in another language and want to hear it in English, provide your OpenAI API key (optional).
57
+ - The app will automatically translate the text to English and generate the speech in English with the voice you selected.
58
+ - Enjoy exploring different languages, voices, and speeds with the text-to-speech conversion!
59
  """)
60
 
61
  # User input for text, language, and voice settings