Spaces:
Build error
Build error
Update infer.py
Browse files
infer.py
CHANGED
@@ -52,8 +52,8 @@ def run_clip(raw_audio_path, svc_model, key, acc, use_crepe, spk_id=0, auto_key=
|
|
52 |
|
53 |
if __name__ == '__main__':
|
54 |
# 工程文件夹名,训练时用的那个
|
55 |
-
project_name = "
|
56 |
-
model_path = f'./checkpoints/{project_name}/
|
57 |
config_path = f'./checkpoints/{project_name}/config.yaml'
|
58 |
|
59 |
# 支持多个wav/ogg文件,放在raw文件夹下,带扩展名
|
|
|
52 |
|
53 |
if __name__ == '__main__':
|
54 |
# 工程文件夹名,训练时用的那个
|
55 |
+
project_name = "xiaxiaobai"
|
56 |
+
model_path = f'./checkpoints/{project_name}/model_ckpt_steps_150000.ckpt'
|
57 |
config_path = f'./checkpoints/{project_name}/config.yaml'
|
58 |
|
59 |
# 支持多个wav/ogg文件,放在raw文件夹下,带扩展名
|