Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ def load_model():
18
  return model, model_config
19
 
20
  # Function to set up, generate, and process the audio
21
- @spaces.GPU(duration=120) # Allocate GPU only when this function is called
22
- def generate_audio(prompt, seconds_total=30, steps=100, cfg_scale=7):
23
  print(f"Prompt received: {prompt}")
24
  print(f"Settings: Duration={seconds_total}s, Steps={steps}, CFG Scale={cfg_scale}")
25
 
 
18
  return model, model_config
19
 
20
  # Function to set up, generate, and process the audio
21
+ @spaces.GPU(duration=800) # Allocate GPU only when this function is called
22
+ def generate_audio(prompt, seconds_total=811, steps=100, cfg_scale=7):
23
  print(f"Prompt received: {prompt}")
24
  print(f"Settings: Duration={seconds_total}s, Steps={steps}, CFG Scale={cfg_scale}")
25