manoskary commited on
Commit
accdb59
·
verified ·
1 Parent(s): 9cf8b3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ SAMPLE_RATE = model_config["sample_rate"]
74
  SAMPLE_SIZE = model_config["sample_size"]
75
 
76
 
77
- @spaces.GPU(duration=120)
78
  def generate_audio(prompt, seconds_total=30, steps=100, cfg_scale=7):
79
  """
80
  Returns (sample_rate, waveform) so the API returns raw audio, not a file.
 
74
  SAMPLE_SIZE = model_config["sample_size"]
75
 
76
 
77
+ @spaces.GPU()
78
  def generate_audio(prompt, seconds_total=30, steps=100, cfg_scale=7):
79
  """
80
  Returns (sample_rate, waveform) so the API returns raw audio, not a file.