Aitron Emper commited on
Commit
7af85df
1 Parent(s): d8aeebb

Upload 2 files

Browse files
Files changed (1) hide show
  1. rvc/infer/infer.py +1 -1
rvc/infer/infer.py CHANGED
@@ -79,7 +79,7 @@ def vc_single(
79
  )
80
  if tgt_sr != resample_sr >= 16000:
81
  tgt_sr = resample_sr
82
- if split_audio:
83
  result, new_dir_path = process_audio(input_audio_path)
84
  if result == "Error":
85
  return "Error with Split Audio", None
 
79
  )
80
  if tgt_sr != resample_sr >= 16000:
81
  tgt_sr = resample_sr
82
+ if split_audio == "True":
83
  result, new_dir_path = process_audio(input_audio_path)
84
  if result == "Error":
85
  return "Error with Split Audio", None