Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aitronz committed Jan 28, 2024
1 parent 9abbe99 commit 546324b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rvc/infer/infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,10 @@ def get_vc(weight_root, sid):

model_path = sys.argv[8]
index_path = sys.argv[9]
split_audio = sys.argv[10]

if split_audio == "False":
try:
split_audio = sys.argv[10]
except IndexError:
split_audio = None

sid = f0up_key
Expand Down

0 comments on commit 546324b

Please sign in to comment.