Spaces:
Sleeping
Sleeping
add duration zerogpu
Browse files- src/main.py +1 -1
src/main.py
CHANGED
@@ -256,7 +256,7 @@ def combine_audio(audio_paths, output_path, main_gain, backup_gain, inst_gain, o
|
|
256 |
main_vocal_audio.overlay(backup_vocal_audio).overlay(instrumental_audio).export(output_path, format=output_format)
|
257 |
print(f"[+] Audio combined: {output_path}")
|
258 |
|
259 |
-
@spaces.GPU
|
260 |
def song_cover_pipeline(song_input, voice_model, pitch_change, keep_files,
|
261 |
is_webui=0, main_gain=0, backup_gain=0, inst_gain=0, index_rate=0.5, filter_radius=3,
|
262 |
rms_mix_rate=0.25, f0_method='rmvpe', crepe_hop_length=128, protect=0.33, pitch_change_all=0,
|
|
|
256 |
main_vocal_audio.overlay(backup_vocal_audio).overlay(instrumental_audio).export(output_path, format=output_format)
|
257 |
print(f"[+] Audio combined: {output_path}")
|
258 |
|
259 |
+
@spaces.GPU(duration=300)
|
260 |
def song_cover_pipeline(song_input, voice_model, pitch_change, keep_files,
|
261 |
is_webui=0, main_gain=0, backup_gain=0, inst_gain=0, index_rate=0.5, filter_radius=3,
|
262 |
rms_mix_rate=0.25, f0_method='rmvpe', crepe_hop_length=128, protect=0.33, pitch_change_all=0,
|