From acc7363bb5a389e5ca77dfe7c415e8b8a81f3bf4 Mon Sep 17 00:00:00 2001 From: Danil Boldyrev Date: Thu, 7 Mar 2024 16:06:30 +0300 Subject: [PATCH] fix path problem #5 --- pyproject.toml | 2 +- rvc_python/modules/vc/pipeline.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cf51932..b2d289a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "rvc-python" -version = "0.0.4" +version = "0.0.5" authors = [ { name="daswer123", email="daswerq123@gmail.com" }, ] diff --git a/rvc_python/modules/vc/pipeline.py b/rvc_python/modules/vc/pipeline.py index b6a30da..b2bff8c 100644 --- a/rvc_python/modules/vc/pipeline.py +++ b/rvc_python/modules/vc/pipeline.py @@ -148,7 +148,7 @@ def get_f0( logger.info( "Loading rmvpe model - base_models/rmvpe.pth" ) - rmvpe_path = Path(f"{self.lib_dir}\\base_model\\rmvpe.pt") + rmvpe_path = Path(self.lib_dir) / "base_model" / "rmvpe.pt" self.model_rmvpe = RMVPE( rmvpe_path, is_half=self.is_half,