Update app.py
Browse files
app.py
CHANGED
|
@@ -38,13 +38,16 @@ _ = utils.load_checkpoint("pretrained_models/G_1153000.pth", net_g, None)
|
|
| 38 |
|
| 39 |
title = "Umamusume voice synthesizer \n 赛马娘语音合成器"
|
| 40 |
description = """
|
| 41 |
-
This synthesizer is created based on VITS (https://arxiv.org/abs/2106.06103) model, trained on voice data extracted from mobile game
|
| 42 |
-
这个合成器是基于VITS文本到语音模型,在从手游《賽馬娘:Pretty Derby
|
|
|
|
|
|
|
|
|
|
| 43 |
"""
|
| 44 |
article = """
|
| 45 |
-
|
| 46 |
-
如果您的输入语言不是日语,则会由谷歌翻译自动翻译为日语,但是准确性不能保证。
|
| 47 |
"""
|
|
|
|
| 48 |
def infer(text, character, language):
|
| 49 |
if language == '日本語':
|
| 50 |
pass
|
|
|
|
| 38 |
|
| 39 |
title = "Umamusume voice synthesizer \n 赛马娘语音合成器"
|
| 40 |
description = """
|
| 41 |
+
This synthesizer is created based on VITS (https://arxiv.org/abs/2106.06103) model, trained on voice data extracted from mobile game Umamusume Pretty Derby\n
|
| 42 |
+
这个合成器是基于VITS文本到语音模型,在从手游《賽馬娘:Pretty Derby》解包的语音数据上训练得到。\n
|
| 43 |
+
If your input language is not Japanese, it will be translated to Japanese by Google translator, but accuracy is not guaranteed.\n
|
| 44 |
+
如果您的输入语言不是日语,则会由谷歌翻译自动翻译为日语,但是准确性不能保证。\n\n
|
| 45 |
+
若使用人数太多可能会出现排队过久的情况,若有需要可选择本地部署
|
| 46 |
"""
|
| 47 |
article = """
|
| 48 |
+
|
|
|
|
| 49 |
"""
|
| 50 |
+
|
| 51 |
def infer(text, character, language):
|
| 52 |
if language == '日本語':
|
| 53 |
pass
|