Aitron Emper commited on
Commit
d8aeebb
1 Parent(s): 5a30352

Update rvc/infer/infer.py

Browse files
Files changed (1) hide show
  1. rvc/infer/infer.py +3 -2
rvc/infer/infer.py CHANGED
@@ -222,9 +222,10 @@ audio_output_path = sys.argv[7]
222
 
223
  model_path = sys.argv[8]
224
  index_path = sys.argv[9]
225
- split_audio = sys.argv[10]
226
 
227
- if split_audio == "False":
 
 
228
  split_audio = None
229
 
230
  sid = f0up_key
 
222
 
223
  model_path = sys.argv[8]
224
  index_path = sys.argv[9]
 
225
 
226
+ try:
227
+ split_audio = sys.argv[10]
228
+ except IndexError:
229
  split_audio = None
230
 
231
  sid = f0up_key