mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-04 17:39:22 +08:00
add a initializer
This commit is contained in:
@@ -105,7 +105,6 @@
|
||||
"from concurrent.futures import ProcessPoolExecutor, as_completed\n",
|
||||
"\n",
|
||||
"futures = []\n",
|
||||
"NUM_COPIES=20\n",
|
||||
"\n",
|
||||
"with ProcessPoolExecutor(max_workers=NUM_PROCESS, initializer=init_model, initargs=(model,)) as ex:\n",
|
||||
" for i in range(NUM_COPIES):\n",
|
||||
|
||||
Reference in New Issue
Block a user