chuks-cmu commited on
Commit
5927ed7
1 Parent(s): 7027fe8

Fixed the audio length to 30 seconds

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -24,6 +24,8 @@ def gen_music(description):
24
  # Set up text and timing conditioning
25
  conditioning = [{
26
  "prompt": f"{description}",
 
 
27
  }]
28
 
29
  # Generate stereo audio
 
24
  # Set up text and timing conditioning
25
  conditioning = [{
26
  "prompt": f"{description}",
27
+ "seconds_start": 0,
28
+ "seconds_total": 30
29
  }]
30
 
31
  # Generate stereo audio