futurespyhi commited on
Commit
c87f4fd
·
1 Parent(s): 47f310c

modify GPU time for compatibility on A10G large and L40s

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -287,7 +287,7 @@ def validate_file_structure():
287
  print("✅ All required files found")
288
  return True
289
 
290
- @spaces.GPU(duration=720)
291
  def generate_music_spaces(lyrics: str, genre: str, mood: str, progress=gr.Progress()) -> str:
292
  """
293
  Generate music using YuE model with high-performance Spaces configuration
 
287
  print("✅ All required files found")
288
  return True
289
 
290
+ @spaces.GPU(duration=1200) # H200 on ZeroGPU is free for 25mins, for compatibility on A10G large and L40s
291
  def generate_music_spaces(lyrics: str, genre: str, mood: str, progress=gr.Progress()) -> str:
292
  """
293
  Generate music using YuE model with high-performance Spaces configuration