Prasada commited on
Commit
93e149e
1 Parent(s): 1b64cf1

Upload examples.py

Browse files
Files changed (1) hide show
  1. examples.py +24 -0
examples.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ infer_from_audio_examples = [
2
+ ["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!"],
3
+ ["我喜欢抽电子烟,尤其是锐刻五代。", '中文', 'no-accent', "prompts/zh-1.wav", None, "今天我很荣幸,"],
4
+ ["私の声を真似するのはそんなに面白いですか?", '日本語', 'no-accent', "prompts/ja-2.ogg", None, "初めまして、朝武よしのです。"],
5
+ ["你可以听得出来我有多困。", '中文', 'no-accent', "prompts/en-1.wav", None, ""],
6
+ ["この文は、クロスリンガル合成の例です。", '日本語', 'no-accent', "prompts/zh-2.wav", None, ""],
7
+ ["Actually, I can't speak English, but this machine helped me do it.", 'English', 'no-accent', "prompts/ja-1.wav", None, ""],
8
+ ]
9
+
10
+ make_npz_prompt_examples = [
11
+ ["Gem-trader", "prompts/en-2.wav", None, "Wow, look at that! That's no ordinary Teddy bear!"],
12
+ ["Ding Zhen", "prompts/zh-1.wav", None, "今天我很荣幸,"],
13
+ ["Yoshino", "prompts/ja-2.ogg", None, "初めまして、朝武よしのです。"],
14
+ ["Sleepy-woman", "prompts/en-1.wav", None, ""],
15
+ ["Yae", "prompts/zh-2.wav", None, ""],
16
+ ["Cafe", "prompts/ja-1.wav", None, ""],
17
+ ]
18
+
19
+ infer_from_prompt_examples = [
20
+ ["A prompt contains voice, prosody and emotion information of a certain speaker.", "English", "no-accent", "vctk_1", None],
21
+ ["This prompt is made with an audio of three seconds.", "English", "no-accent", "librispeech_1", None],
22
+ ["This prompt is made with Chinese speech", "English", "no-accent", "seel", None],
23
+ ]
24
+