Download examples.py from sinhprous/VALL-E-X: direct link, hf CLI and curl.
- Browser
- Download file 1.63 kB
-
https://huggingface.co/spaces/sinhprous/VALL-E-X/resolve/main/examples.py
- Command line
-
hf download hf://spaces/sinhprous/VALL-E-X/examples.py
-
curl -L -o examples.py https://huggingface.co/spaces/sinhprous/VALL-E-X/resolve/main/examples.py
1.63 kB
| infer_from_audio_examples = [ | |
| ["This is how this machine has taken my voice.", 'English', 'no-accent', "prompts/en-2.wav", None, "Wow, look at that! That's no ordinary Teddy bear!"], | |
| ["ๆๅๆฌขๆฝ็ตๅญ็๏ผๅฐคๅ ถๆฏ้ๅปไบไปฃใ", 'ไธญๆ', 'no-accent', "prompts/zh-1.wav", None, "ไปๅคฉๆๅพ่ฃๅนธ๏ผ"], | |
| ["็งใฎๅฃฐใ็ไผผใใใฎใฏใใใชใซ้ข็ฝใใงใใ๏ผ", 'ๆฅๆฌ่ช', 'no-accent', "prompts/ja-2.ogg", None, "ๅใใพใใฆใๆๆญฆใใใฎใงใใ"], | |
| ["ไฝ ๅฏไปฅๅฌๅพๅบๆฅๆๆๅคๅฐใ", 'ไธญๆ', 'no-accent', "prompts/en-1.wav", None, ""], | |
| ["ใใฎๆใฏใใฏใญในใชใณใฌใซๅๆใฎไพใงใใ", 'ๆฅๆฌ่ช', 'no-accent', "prompts/zh-2.wav", None, ""], | |
| ["Actually, I can't speak English, but this machine helped me do it.", 'English', 'no-accent', "prompts/ja-1.wav", None, ""], | |
| ] | |
| make_npz_prompt_examples = [ | |
| ["Gem-trader", "prompts/en-2.wav", None, "Wow, look at that! That's no ordinary Teddy bear!"], | |
| ["Ding Zhen", "prompts/zh-1.wav", None, "ไปๅคฉๆๅพ่ฃๅนธ๏ผ"], | |
| ["Yoshino", "prompts/ja-2.ogg", None, "ๅใใพใใฆใๆๆญฆใใใฎใงใใ"], | |
| ["Sleepy-woman", "prompts/en-1.wav", None, ""], | |
| ["Yae", "prompts/zh-2.wav", None, ""], | |
| ["Cafe", "prompts/ja-1.wav", None, ""], | |
| ] | |
| infer_from_prompt_examples = [ | |
| ["A prompt contains voice, prosody and emotion information of a certain speaker.", "English", "no-accent", "vctk_1", None], | |
| ["This prompt is made with an audio of three seconds.", "English", "no-accent", "librispeech_1", None], | |
| ["This prompt is made with Chinese speech", "English", "no-accent", "seel", None], | |
| ] | |