Bils commited on
Commit
89daa1e
·
verified ·
1 Parent(s): a765116

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,7 +191,7 @@ def generate_voice(script: str, tts_model_name: str = "tts_models/en/ljspeech/ta
191
  # ---------------------------------------------------------------------
192
  # Music Generation Function
193
  # ---------------------------------------------------------------------
194
- @spaces.GPU(duration=100)
195
  def generate_music(prompt: str, audio_length: int):
196
  """
197
  Generates music from the 'facebook/musicgen-large' model based on the prompt.
 
191
  # ---------------------------------------------------------------------
192
  # Music Generation Function
193
  # ---------------------------------------------------------------------
194
+ @spaces.GPU(duration=200)
195
  def generate_music(prompt: str, audio_length: int):
196
  """
197
  Generates music from the 'facebook/musicgen-large' model based on the prompt.