File size: 1,631 Bytes
512efa6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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],
]