Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisewf committed Aug 14, 2024
1 parent b694f40 commit 9d91ed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tabs/download/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']}"
Expand Down
2 changes: 1 addition & 1 deletion tabs/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d91ed4

Please sign in to comment.