Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,13 +16,13 @@ import pytz
|
|
16 |
net_g = None
|
17 |
models = {
|
18 |
"AdorableDarling": "./MODELS/adorabledarling.pth",
|
|
|
19 |
"Silverleg": "./MODELS/J8900.pth",
|
20 |
"Takemura": "./MODELS/take2.pth",
|
21 |
"LucidMoon": "./MODELS/lucid.pth",
|
22 |
"Rrabbitt": "./MODELS/rabbit4900.pth",
|
23 |
"VivaciousViolet": "./MODELS/vv.pth",
|
24 |
"AlluWin": "./MODELS/AW.pth",
|
25 |
-
"MistyNikki": "./MODELS/nikki9400.pth",
|
26 |
"ImmenseStar": "./MODELS/endlessstar.pth",
|
27 |
"LightHammer": "./MODELS/hammer.pth",
|
28 |
"ArasakaAI": "Arasaka.pth",
|
@@ -119,7 +119,7 @@ if __name__ == "__main__":
|
|
119 |
with gr.Column():
|
120 |
with gr.Column():
|
121 |
|
122 |
-
gr.Markdown("
|
123 |
text = gr.TextArea(label="输入需要生成语音的文字", placeholder="输入文字",
|
124 |
value="在不在?能不能借给我三百块钱买可乐",
|
125 |
info="使用huggingface的免费CPU进行推理,因此速度不快,一次性不要输入超过500汉字。字数越多,生成速度越慢,请耐心等待",
|
|
|
16 |
net_g = None
|
17 |
models = {
|
18 |
"AdorableDarling": "./MODELS/adorabledarling.pth",
|
19 |
+
"MistyNikki": "./MODELS/nikki9400.pth",
|
20 |
"Silverleg": "./MODELS/J8900.pth",
|
21 |
"Takemura": "./MODELS/take2.pth",
|
22 |
"LucidMoon": "./MODELS/lucid.pth",
|
23 |
"Rrabbitt": "./MODELS/rabbit4900.pth",
|
24 |
"VivaciousViolet": "./MODELS/vv.pth",
|
25 |
"AlluWin": "./MODELS/AW.pth",
|
|
|
26 |
"ImmenseStar": "./MODELS/endlessstar.pth",
|
27 |
"LightHammer": "./MODELS/hammer.pth",
|
28 |
"ArasakaAI": "Arasaka.pth",
|
|
|
119 |
with gr.Column():
|
120 |
with gr.Column():
|
121 |
|
122 |
+
gr.Markdown("##测试用\n 模型路径在https://huggingface.co/spaces/Ailyth/Multi-voice-TTS/tree/main 的/MODELS里面")
|
123 |
text = gr.TextArea(label="输入需要生成语音的文字", placeholder="输入文字",
|
124 |
value="在不在?能不能借给我三百块钱买可乐",
|
125 |
info="使用huggingface的免费CPU进行推理,因此速度不快,一次性不要输入超过500汉字。字数越多,生成速度越慢,请耐心等待",
|