Skip to content

Commit

Permalink
fix infer error + add .index to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisewf committed Apr 18, 2024
1 parent c959101 commit cf6c3a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.pt
*.onnx
*.pth
*.index

# Ignore Python bytecode files
*.pyc
Expand Down
6 changes: 3 additions & 3 deletions rvc/infer/infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ def infer_pipeline(
f0_file=None,
f0_method=f0method,
file_index=index_path,
index_rate=index_rate,
rms_mix_rate=rms_mix_rate,
protect=protect,
index_rate=float(index_rate),
rms_mix_rate=float(rms_mix_rate),
protect=float(protect),
hop_length=hop_length,
output_path=audio_output_path,
split_audio=split_audio,
Expand Down

0 comments on commit cf6c3a5

Please sign in to comment.