KingNish commited on
Commit
69351e8
·
verified ·
1 Parent(s): ba1f3a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -304,11 +304,11 @@ def stage2_inference(model_stage2, stage1_output_set, stage2_output_dir, batch_s
304
  return stage2_result
305
 
306
  # ----------------------- Main Generation Function (Stage1 + Stage2) -----------------------
307
- @spaces.GPU(duration=150)
308
  def generate_music(
309
  genre_txt="",
310
  lyrics_txt="",
311
- max_new_tokens=5,
312
  run_n_segments=2,
313
  use_audio_prompt=False,
314
  audio_prompt_path="",
 
304
  return stage2_result
305
 
306
  # ----------------------- Main Generation Function (Stage1 + Stage2) -----------------------
307
+ @spaces.GPU(duration=180)
308
  def generate_music(
309
  genre_txt="",
310
  lyrics_txt="",
311
+ max_new_tokens=4,
312
  run_n_segments=2,
313
  use_audio_prompt=False,
314
  audio_prompt_path="",