Skip to content

Commit

Permalink
Update infer.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Keiser04 <[email protected]>
  • Loading branch information
aitronz and Keiser04 committed Jan 20, 2024
1 parent ba57c4b commit 5fd2c61
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rvc/infer/infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,10 @@ def get_vc(weight_root, sid):

model_path = sys.argv[8]
index_path = sys.argv[9]
split_audio = sys.argv[10]
try:
split_audio = sys.argv[10]
except IndexError:
split_audio = None

sid = f0up_key
input_audio = audio_input_path
Expand Down

0 comments on commit 5fd2c61

Please sign in to comment.