diff --git a/tabs/download/download.py b/tabs/download/download.py index bc89b647..3aff584d 100644 --- a/tabs/download/download.py +++ b/tabs/download/download.py @@ -90,7 +90,7 @@ def get_pretrained_sample_rates(model): def download_pretrained_model(model, sample_rate): data = fetch_pretrained_data() paths = data[model][sample_rate] - pretraineds_custom_path = os.path.join("rvc", "pretraineds", "pretraineds_custom") + pretraineds_custom_path = os.path.join("rvc", "models", "pretraineds", "pretraineds_custom") os.makedirs(pretraineds_custom_path, exist_ok=True) d_url = f"https://huggingface.co/{paths['D']}" diff --git a/tabs/train/train.py b/tabs/train/train.py index 5293baa1..c49c7808 100644 --- a/tabs/train/train.py +++ b/tabs/train/train.py @@ -61,7 +61,7 @@ # Custom Pretraineds pretraineds_custom_path = os.path.join( - now_dir, "rvc", "pretraineds", "pretraineds_custom" + now_dir, "rvc", "models", "pretraineds", "pretraineds_custom" ) pretraineds_custom_path_relative = os.path.relpath(pretraineds_custom_path, now_dir)