mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2024-12-29 19:15:04 +08:00
Format code (#1142)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
45289e2d3d
commit
a05c72ec6f
@ -18,6 +18,7 @@ from fairseq import checkpoint_utils
|
||||
# "",
|
||||
# )
|
||||
|
||||
|
||||
def get_index_path_from_model(sid):
|
||||
sel_index_path = ""
|
||||
name = os.path.join("logs", sid.split(".")[0], "")
|
||||
@ -29,6 +30,7 @@ def get_index_path_from_model(sid):
|
||||
break
|
||||
return sel_index_path
|
||||
|
||||
|
||||
def load_hubert(config):
|
||||
models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
|
||||
["assets/hubert/hubert_base.pt"],
|
||||
|
Loading…
Reference in New Issue
Block a user