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