Update examples.py
Browse files- examples.py +3 -24
examples.py
CHANGED
|
@@ -1,24 +1,3 @@
|
|
| 1 |
-
infer_from_audio_examples
|
| 2 |
-
["
|
| 3 |
-
|
| 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 |
-
|
|
|
|
| 1 |
+
infer_from_audio_examples=[
|
| 2 |
+
["Wanted chief justice of the Massachusetts Supreme Court In April the SJC s current leader Edward Hennessy reaches the mandatory retirement age of 70 and a successor is", "filename.wav", None, "Tell me something about Google"],
|
| 3 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|