Spaces:
Runtime error
Runtime error
Merge remote-tracking branch 'hf2/main' into our_hf2
Browse files24 unmodified lines25262728282930319 unmodified lines414243444445464724 unmodified lines
MODEL = None # Last used modelIS_BATCHED = "facebook/MusicGen" in os.environ.get('SPACE_ID', '')MAX_BATCH_SIZE = 12MAX_BATCH_SIZE = 6BATCHED_DURATION = 15INTERRUPTING = False# We have to wrap subprocess call to clean a bit the log when using gr.make_waveform9 unmodified lines
sp.call = _call_nostderr# Preallocating the pool of processes.pool = ProcessPoolExecutor(4)pool = ProcessPoolExecutor(3)pool.__enter__()
app.py+2-2