Update app.py
Browse files
app.py
CHANGED
@@ -10,12 +10,12 @@ import logging
|
|
10 |
|
11 |
logging.getLogger('numba').setLevel(logging.WARNING)
|
12 |
|
13 |
-
model_name = "logs/32k/
|
14 |
config_name = "configs/config.json"
|
15 |
|
16 |
svc_model = Svc(model_name, config_name)
|
17 |
sid_map = {
|
18 |
-
"
|
19 |
}
|
20 |
|
21 |
|
@@ -63,7 +63,7 @@ with app:
|
|
63 |
项目改写基于 https://huggingface.co/spaces/innnky/nyaru-svc-3.0
|
64 |
|
65 |
本地合成可以删除26、27两行代码以解除合成45s长度限制""")
|
66 |
-
sid = gr.Dropdown(label="音色", choices=["
|
67 |
vc_input3 = gr.Audio(label="上传音频(长度小于45秒)")
|
68 |
vc_transform = gr.Number(label="变调(整数,可以正负,半音数量,升高八度就是12)", value=0)
|
69 |
vc_submit = gr.Button("转换", variant="primary")
|
|
|
10 |
|
11 |
logging.getLogger('numba').setLevel(logging.WARNING)
|
12 |
|
13 |
+
model_name = "logs/32k/G_10000.pth"
|
14 |
config_name = "configs/config.json"
|
15 |
|
16 |
svc_model = Svc(model_name, config_name)
|
17 |
sid_map = {
|
18 |
+
"gdglow": "gdglow"
|
19 |
}
|
20 |
|
21 |
|
|
|
63 |
项目改写基于 https://huggingface.co/spaces/innnky/nyaru-svc-3.0
|
64 |
|
65 |
本地合成可以删除26、27两行代码以解除合成45s长度限制""")
|
66 |
+
sid = gr.Dropdown(label="音色", choices=["gdglow"], value="gdglow")
|
67 |
vc_input3 = gr.Audio(label="上传音频(长度小于45秒)")
|
68 |
vc_transform = gr.Number(label="变调(整数,可以正负,半音数量,升高八度就是12)", value=0)
|
69 |
vc_submit = gr.Button("转换", variant="primary")
|