Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
c3af266
1
Parent(s):
3e6fdea
trying to solve model loading
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def load_stable_audio_model():
|
|
89 |
model_cache['stable_audio_config'],
|
90 |
model_cache['stable_audio_device'])
|
91 |
|
92 |
-
@spaces.GPU
|
93 |
def generate_stable_audio_loop(prompt, loop_type, bpm, bars, seed=-1):
|
94 |
"""Generate a BPM-aware loop using stable-audio-open-small"""
|
95 |
try:
|
|
|
89 |
model_cache['stable_audio_config'],
|
90 |
model_cache['stable_audio_device'])
|
91 |
|
92 |
+
@spaces.GPU(duration=12)
|
93 |
def generate_stable_audio_loop(prompt, loop_type, bpm, bars, seed=-1):
|
94 |
"""Generate a BPM-aware loop using stable-audio-open-small"""
|
95 |
try:
|