MarcusSu1216 commited on
Commit
842c3cd
1 Parent(s): 7504cf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -14,8 +14,11 @@ 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_99200.pth", "configs/config.json", cluster_model_path="logs/44k/kmeans_10000.pt")
18
 
 
19
  def vc_fn(sid, input_audio, vc_transform, auto_f0,cluster_ratio, noise_scale):
20
  if input_audio is None:
21
  return "You need to upload an audio", None
@@ -45,7 +48,7 @@ with app:
45
  星瞳_Official的语音在线合成,基于so-vits-svc-4.0生成。\n
46
 
47
  使用须知:\n
48
- 1、请使用伴奏和声去除干净的人声素材,时长小于100秒,格式为mp3或wav。\n
49
  2、去除伴奏推荐使用UVR5软件,B站上有详细教程。\n
50
  3、条件不支持推荐使用以下几个去伴奏的网站:\n
51
  https://vocalremover.org/zh/\n
 
14
  logging.getLogger('urllib3').setLevel(logging.WARNING)
15
  logging.getLogger('matplotlib').setLevel(logging.WARNING)
16
 
17
+ config_path = "configs/config.json"
18
+
19
  model = Svc("logs/44k/G_99200.pth", "configs/config.json", cluster_model_path="logs/44k/kmeans_10000.pt")
20
 
21
+
22
  def vc_fn(sid, input_audio, vc_transform, auto_f0,cluster_ratio, noise_scale):
23
  if input_audio is None:
24
  return "You need to upload an audio", None
 
48
  星瞳_Official的语音在线合成,基于so-vits-svc-4.0生成。\n
49
 
50
  使用须知:\n
51
+ 1、请使用伴奏和声去除干净的人声素材,时长小于90秒,格式为mp3或wav。\n
52
  2、去除伴奏推荐使用UVR5软件,B站上有详细教程。\n
53
  3、条件不支持推荐使用以下几个去伴奏的网站:\n
54
  https://vocalremover.org/zh/\n