Update src/main.py
Browse files- src/main.py +2 -0
src/main.py
CHANGED
|
@@ -293,6 +293,8 @@ def song_cover_pipeline(main_vocals, backup_vocals, voice_model, pitch_change, k
|
|
| 293 |
display_progress('[~] Combining AI Vocals and Instrumentals...', 0.9, is_webui, progress)
|
| 294 |
combine_audio([ai_vocals_mixed_path, backup_vocals], ai_cover_path, main_gain, backup_gain, inst_gain, output_format)
|
| 295 |
|
|
|
|
|
|
|
| 296 |
return ai_cover_path
|
| 297 |
|
| 298 |
except Exception as e:
|
|
|
|
| 293 |
display_progress('[~] Combining AI Vocals and Instrumentals...', 0.9, is_webui, progress)
|
| 294 |
combine_audio([ai_vocals_mixed_path, backup_vocals], ai_cover_path, main_gain, backup_gain, inst_gain, output_format)
|
| 295 |
|
| 296 |
+
ai_cover_path = convert_to_stereo(ai_cover_path)
|
| 297 |
+
|
| 298 |
return ai_cover_path
|
| 299 |
|
| 300 |
except Exception as e:
|