helloWorld199 commited on
Commit
11bbba7
1 Parent(s): f49477a

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +1 -1
src/main.py CHANGED
@@ -336,7 +336,7 @@ def song_cover_pipeline(song_input, voice_model, pitch_change, keep_files,
336
 
337
  pitch_change = pitch_change * 12 + pitch_change_all
338
  ai_vocals_path = os.path.join(song_dir, f'{os.path.splitext(os.path.basename(orig_song_path))[0]}_{voice_model}_p{pitch_change}_i{index_rate}_fr{filter_radius}_rms{rms_mix_rate}_pro{protect}_{f0_method}{"" if f0_method != "mangio-crepe" else f"_{crepe_hop_length}"}.wav')
339
- ai_cover_path = os.path.join(song_dir, f'{os.path.splitext(os.path.basename(orig_song_path))[0]} ({voice_model} Ver).{output_format}_cover')
340
 
341
  if not os.path.exists(ai_vocals_path):
342
  display_progress('[~] Converting voice using RVC...', 0.5, is_webui, progress)
 
336
 
337
  pitch_change = pitch_change * 12 + pitch_change_all
338
  ai_vocals_path = os.path.join(song_dir, f'{os.path.splitext(os.path.basename(orig_song_path))[0]}_{voice_model}_p{pitch_change}_i{index_rate}_fr{filter_radius}_rms{rms_mix_rate}_pro{protect}_{f0_method}{"" if f0_method != "mangio-crepe" else f"_{crepe_hop_length}"}.wav')
339
+ ai_cover_path = os.path.join(song_dir, f'{os.path.splitext(os.path.basename(orig_song_path))[0]} ({voice_model} Ver)_cover.{output_format}')
340
 
341
  if not os.path.exists(ai_vocals_path):
342
  display_progress('[~] Converting voice using RVC...', 0.5, is_webui, progress)