mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-01-17 11:50:14 +08:00
fix Model Inference
とりあえず動く
This commit is contained in:
parent
e65275cbc1
commit
a8854a71c4
@ -123,7 +123,7 @@ class VC:
|
|||||||
else file_index2
|
else file_index2
|
||||||
) # 防止小白写错,自动帮他替换掉
|
) # 防止小白写错,自动帮他替换掉
|
||||||
|
|
||||||
audio_opt = Pipeline.pipeline(
|
audio_opt = self.pipeline.pipeline(
|
||||||
self.hubert_model,
|
self.hubert_model,
|
||||||
self.net_g,
|
self.net_g,
|
||||||
sid,
|
sid,
|
||||||
|
@ -285,7 +285,6 @@ class Pipeline(object):
|
|||||||
f0_up_key,
|
f0_up_key,
|
||||||
f0_method,
|
f0_method,
|
||||||
file_index,
|
file_index,
|
||||||
# file_big_npy,
|
|
||||||
index_rate,
|
index_rate,
|
||||||
if_f0,
|
if_f0,
|
||||||
filter_radius,
|
filter_radius,
|
||||||
@ -296,7 +295,6 @@ class Pipeline(object):
|
|||||||
protect,
|
protect,
|
||||||
f0_file=None,
|
f0_file=None,
|
||||||
):
|
):
|
||||||
print(file_index)
|
|
||||||
if (
|
if (
|
||||||
file_index != ""
|
file_index != ""
|
||||||
# and file_big_npy != ""
|
# and file_big_npy != ""
|
||||||
|
Loading…
Reference in New Issue
Block a user