Spaces:
Sleeping
Sleeping
Update src/main.py
Browse files- src/main.py +2 -2
src/main.py
CHANGED
@@ -266,8 +266,8 @@ def song_cover_pipeline(main_vocals, backup_vocals, voice_model, pitch_change, k
|
|
266 |
print(f"DEBUG PRINT: song_dir {song_dir}")
|
267 |
|
268 |
pitch_change = pitch_change * 12 + pitch_change_all
|
269 |
-
ai_vocals_path = os.path.join(song_dir, f'
|
270 |
-
ai_cover_path = os.path.join(song_dir, f'
|
271 |
|
272 |
print(f"DEBUG PRINT: ai_vocals_path: {ai_vocals_path}, ai_cover_path: {ai_cover_path}")
|
273 |
|
|
|
266 |
print(f"DEBUG PRINT: song_dir {song_dir}")
|
267 |
|
268 |
pitch_change = pitch_change * 12 + pitch_change_all
|
269 |
+
ai_vocals_path = os.path.join(song_dir, f'_{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')
|
270 |
+
ai_cover_path = os.path.join(song_dir, f'({voice_model} Ver)_cover.{output_format}')
|
271 |
|
272 |
print(f"DEBUG PRINT: ai_vocals_path: {ai_vocals_path}, ai_cover_path: {ai_cover_path}")
|
273 |
|