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