Skip to content

Commit

Permalink
Update modules.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNeodev authored Dec 18, 2024
1 parent b337c53 commit ff426fb
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions rvc_inferpy/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@
import glob
from shutil import move
from fairseq import checkpoint_utils
from rvc_inferpy.config_loader import *




validate_config_and_files()

BaseLoader(hubert_path=hubert_model_path, rmvpe_path=rmvpe_model_path)
rvcbasdl = lambda: print("RVC-based loader initialized.") # Replace with the actual function
rvcbasdl()




sup_audioext = {
"wav",
Expand Down Expand Up @@ -228,7 +241,7 @@ def vc_single_dont_save(
f0_min,
f0_max,
f0_autotune,
hubert_model_path="hubert_base.pt",
hubert_model_path=hubert_model_path,
):
"""
Performs inference without saving
Expand Down Expand Up @@ -397,7 +410,7 @@ def vc_single(
f0_min,
f0_max,
f0_autotune,
hubert_model_path="hubert_base.pt",
hubert_model_path=hubert_model_path,
):
"""
Performs inference with saving
Expand Down

0 comments on commit ff426fb

Please sign in to comment.