chilge commited on
Commit
6defaea
1 Parent(s): fb06b9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,7 +14,7 @@ logging.getLogger('markdown_it').setLevel(logging.WARNING)
14
  logging.getLogger('urllib3').setLevel(logging.WARNING)
15
  logging.getLogger('matplotlib').setLevel(logging.WARNING)
16
 
17
- model = Svc("logs/44k/G_56000.pth", "configs/config1.json", cluster_model_path="logs/44k/kmeans_10000.pt")
18
 
19
 
20
 
@@ -50,10 +50,10 @@ with app:
50
  gr.Markdown(value="""
51
  sovits4.0 在线demo
52
 
53
- 此demo为预训练底模在线demo,使用数据:云灏 即霜 辉宇·星AI 派蒙 绫地宁宁
54
  """)
55
  spks = list(model.spk2id.keys())
56
- sid = gr.Dropdown(label="音色", choices=["leo" , "leo1" , "q" , "zmk"], value="leo")
57
  vc_input3 = gr.Audio(label="上传音频(长度小于45秒)")
58
  vc_transform = gr.Number(label="变调(整数,可以正负,半音数量,升高八度就是12)", value=0)
59
  cluster_ratio = gr.Number(label="聚类模型混合比例,0-1之间,默认为0不启用聚类,能提升音色相似度,但会导致咬字下降(如果使用建议0.5左右)", value=0)
 
14
  logging.getLogger('urllib3').setLevel(logging.WARNING)
15
  logging.getLogger('matplotlib').setLevel(logging.WARNING)
16
 
17
+ model = Svc("logs/44k/G_154400.pth", "configs/config1.json", cluster_model_path="logs/44k/kmeans_10000.pt")
18
 
19
 
20
 
 
50
  gr.Markdown(value="""
51
  sovits4.0 在线demo
52
 
53
+ 新的
54
  """)
55
  spks = list(model.spk2id.keys())
56
+ sid = gr.Dropdown(label="音色", choices=["leo" ], value="leo")
57
  vc_input3 = gr.Audio(label="上传音频(长度小于45秒)")
58
  vc_transform = gr.Number(label="变调(整数,可以正负,半音数量,升高八度就是12)", value=0)
59
  cluster_ratio = gr.Number(label="聚类模型混合比例,0-1之间,默认为0不启用聚类,能提升音色相似度,但会导致咬字下降(如果使用建议0.5左右)", value=0)