soujanyaporia commited on
Commit
c1e7576
·
verified ·
1 Parent(s): e121f12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ print("Jamify model ready.")
65
 
66
  gr.set_static_paths(paths=[Path.cwd().absolute()])
67
 
68
- @spaces.GPU()
69
  def generate_song(reference_audio, lyrics_text, duration, mode="time", bpm=120, style_prompt=None):
70
  # We need to save the uploaded files to temporary paths to pass to the model
71
  reference_audio = reference_audio not in ("", None) and reference_audio or None
 
65
 
66
  gr.set_static_paths(paths=[Path.cwd().absolute()])
67
 
68
+ @spaces.GPU(duration=100)
69
  def generate_song(reference_audio, lyrics_text, duration, mode="time", bpm=120, style_prompt=None):
70
  # We need to save the uploaded files to temporary paths to pass to the model
71
  reference_audio = reference_audio not in ("", None) and reference_audio or None