mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-08 03:55:47 +08:00
chore(format): run black on dev (#37)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f956b333fa
commit
80b4723f85
@@ -13,9 +13,7 @@ vec_path = "vec-256-layer-9.onnx" # 需要onnx的vec模型
|
|||||||
wav_path = "123.wav" # 输入路径或ByteIO实例
|
wav_path = "123.wav" # 输入路径或ByteIO实例
|
||||||
out_path = "out.wav" # 输出路径或ByteIO实例
|
out_path = "out.wav" # 输出路径或ByteIO实例
|
||||||
|
|
||||||
model = RVC(
|
model = RVC(model_path, vec_path=vec_path, hop_len=hop_size, device="cuda")
|
||||||
model_path, vec_path=vec_path, hop_len=hop_size, device="cuda"
|
|
||||||
)
|
|
||||||
|
|
||||||
wav, sr = librosa.load(wav_path, sr=sampling_rate)
|
wav, sr = librosa.load(wav_path, sr=sampling_rate)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user