Spaces:
Sleeping
Sleeping
thecollabagepatch
commited on
Commit
·
ce1516d
1
Parent(s):
ea6fe3e
duration to 120
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def continue_drum_sample(existing_audio_path):
|
|
85 |
|
86 |
return combined_file_path
|
87 |
|
88 |
-
@spaces.GPU(duation=
|
89 |
def generate_music(wav_filename, prompt_duration, musicgen_model, output_duration):
|
90 |
# Load the audio from the passed file path
|
91 |
song, sr = torchaudio.load(wav_filename)
|
@@ -121,7 +121,7 @@ def generate_music(wav_filename, prompt_duration, musicgen_model, output_duratio
|
|
121 |
|
122 |
return filename_with_extension
|
123 |
|
124 |
-
@spaces.GPU(duration=
|
125 |
def continue_music(input_audio_path, prompt_duration, musicgen_model, output_duration):
|
126 |
# Load the audio from the given file path
|
127 |
song, sr = torchaudio.load(input_audio_path)
|
|
|
85 |
|
86 |
return combined_file_path
|
87 |
|
88 |
+
@spaces.GPU(duation=120)
|
89 |
def generate_music(wav_filename, prompt_duration, musicgen_model, output_duration):
|
90 |
# Load the audio from the passed file path
|
91 |
song, sr = torchaudio.load(wav_filename)
|
|
|
121 |
|
122 |
return filename_with_extension
|
123 |
|
124 |
+
@spaces.GPU(duration=120)
|
125 |
def continue_music(input_audio_path, prompt_duration, musicgen_model, output_duration):
|
126 |
# Load the audio from the given file path
|
127 |
song, sr = torchaudio.load(input_audio_path)
|