futurespyhi commited on
Commit
ff6e641
·
1 Parent(s): 9c7daac

increase time for L40s

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ def validate_file_structure():
174
  print("✅ All required files found")
175
  return True
176
 
177
- @spaces.GPU(duration=600) # H200 on ZeroGPU is free for 25mins, for compatibility on A10G large and L40s
178
  def generate_music_spaces(lyrics: str, genre: str, mood: str, theme: str, progress=gr.Progress()) -> str:
179
  """
180
  Generate music using YuE model with high-performance Spaces configuration
 
174
  print("✅ All required files found")
175
  return True
176
 
177
+ @spaces.GPU(duration=900) # H200 on ZeroGPU is free for 25mins, for compatibility on A10G large and L40s
178
  def generate_music_spaces(lyrics: str, genre: str, mood: str, theme: str, progress=gr.Progress()) -> str:
179
  """
180
  Generate music using YuE model with high-performance Spaces configuration