Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,44 +112,19 @@ models_tts = []
|
|
| 112 |
models_vc = []
|
| 113 |
models_info = [
|
| 114 |
{
|
| 115 |
-
"title": "
|
| 116 |
"languages": ['日本語', '简体中文', 'English', 'Mix'],
|
| 117 |
"description": """
|
| 118 |
-
This model is trained on
|
| 119 |
All characters can speak English, Chinese & Japanese.\n\n
|
| 120 |
To mix multiple languages in a single sentence, wrap the corresponding part with language tokens
|
| 121 |
-
([JA] for Japanese, [ZH] for Chinese, [EN] for English)
|
| 122 |
-
这个模型在赛马娘,原神,魔女的夜宴以及VCTK数据集上混合训练以学习多种语言。
|
| 123 |
-
所有角色均可说中日英三语。\n\n
|
| 124 |
-
若需要在同一个句子中混合多种语言,使用相应的语言标记包裹句子。
|
| 125 |
-
(日语用[JA], 中文用[ZH], 英文用[EN]),参考Examples中的示例。
|
| 126 |
""",
|
| 127 |
-
"model_path": "./pretrained_models/
|
| 128 |
-
"config_path": "./configs/
|
| 129 |
-
"examples": [
|
| 130 |
-
['To be honest, I have no idea what to say as examples.', '派蒙 Paimon (Genshin Impact)', 'English',
|
| 131 |
-
1, False],
|
| 132 |
-
['授業中に出しだら,学校生活終わるですわ。', '綾地 寧々 Ayachi Nene (Sanoba Witch)', '日本語', 1, False],
|
| 133 |
-
['[JA]こんにちわ。[JA][ZH]你好![ZH][EN]Hello![EN]', '綾地 寧々 Ayachi Nene (Sanoba Witch)', 'Mix', 1, False]],
|
| 134 |
"onnx_dir": "./ONNX_net/G_trilingual/"
|
| 135 |
},
|
| 136 |
-
{
|
| 137 |
-
"title": "Japanese",
|
| 138 |
-
"languages": ["Japanese"],
|
| 139 |
-
"description": """
|
| 140 |
-
This model contains 87 characters from Umamusume: Pretty Derby, Japanese only.\n\n
|
| 141 |
-
这个模型包含赛马娘的所有87名角色,只能合成日语。
|
| 142 |
-
""",
|
| 143 |
-
"model_path": "./pretrained_models/G_jp.pth",
|
| 144 |
-
"config_path": "./configs/uma87.json",
|
| 145 |
-
"examples": [['お疲れ様です,トレーナーさん。', '无声铃鹿 Silence Suzuka (Umamusume Pretty Derby)', 'Japanese', 1, False],
|
| 146 |
-
['張り切っていこう!', '北部玄驹 Kitasan Black (Umamusume Pretty Derby)', 'Japanese', 1, False],
|
| 147 |
-
['何でこんなに慣れでんのよ,私のほが先に好きだっだのに。', '草上飞 Grass Wonder (Umamusume Pretty Derby)', 'Japanese', 1, False],
|
| 148 |
-
['授業中に出しだら,学校生活終わるですわ。', '目白麦昆 Mejiro Mcqueen (Umamusume Pretty Derby)', 'Japanese', 1, False],
|
| 149 |
-
['お帰りなさい,お兄様!', '米浴 Rice Shower (Umamusume Pretty Derby)', 'Japanese', 1, False],
|
| 150 |
-
['私の処女をもらっでください!', '米浴 Rice Shower (Umamusume Pretty Derby)', 'Japanese', 1, False]],
|
| 151 |
-
"onnx_dir": "./ONNX_net/G_jp/"
|
| 152 |
-
},
|
| 153 |
]
|
| 154 |
|
| 155 |
if __name__ == "__main__":
|
|
|
|
| 112 |
models_vc = []
|
| 113 |
models_info = [
|
| 114 |
{
|
| 115 |
+
"title": "CodeRealize",
|
| 116 |
"languages": ['日本語', '简体中文', 'English', 'Mix'],
|
| 117 |
"description": """
|
| 118 |
+
This model is trained on Code Realize voice clips - Guardian of Rebirth.
|
| 119 |
All characters can speak English, Chinese & Japanese.\n\n
|
| 120 |
To mix multiple languages in a single sentence, wrap the corresponding part with language tokens
|
| 121 |
+
([JA] for Japanese, [ZH] for Chinese, [EN] for English)\n\n
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
""",
|
| 123 |
+
"model_path": "./pretrained_models/coderealize.pth",
|
| 124 |
+
"config_path": "./configs/coderealize.json",
|
| 125 |
+
"examples": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
"onnx_dir": "./ONNX_net/G_trilingual/"
|
| 127 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
]
|
| 129 |
|
| 130 |
if __name__ == "__main__":
|