Cun-Duck commited on
Commit
03fe201
1 Parent(s): 9cae843

Update demos/musicgen_app.py

Browse files
Files changed (1) hide show
  1. demos/musicgen_app.py +1 -1
demos/musicgen_app.py CHANGED
@@ -34,7 +34,7 @@ SPACE_ID = os.environ.get('SPACE_ID', '')
34
  IS_BATCHED = "facebook/MusicGen" in SPACE_ID or 'musicgen-internal/musicgen_dev' in SPACE_ID
35
  print(IS_BATCHED)
36
  MAX_BATCH_SIZE = 12
37
- BATCHED_DURATION = 15
38
  INTERRUPTING = False
39
  MBD = None
40
  # We have to wrap subprocess call to clean a bit the log when using gr.make_waveform
 
34
  IS_BATCHED = "facebook/MusicGen" in SPACE_ID or 'musicgen-internal/musicgen_dev' in SPACE_ID
35
  print(IS_BATCHED)
36
  MAX_BATCH_SIZE = 12
37
+ BATCHED_DURATION = 120
38
  INTERRUPTING = False
39
  MBD = None
40
  # We have to wrap subprocess call to clean a bit the log when using gr.make_waveform