From 1fa2fa86427ef6bb8dd2bae445b275570cfeb2ca Mon Sep 17 00:00:00 2001 From: Plachtaa <112609742+Plachtaa@users.noreply.github.com> Date: Sun, 5 Mar 2023 16:25:52 +0800 Subject: [PATCH] Update video2audio.py --- video2audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video2audio.py b/video2audio.py index e847929..db50a5c 100644 --- a/video2audio.py +++ b/video2audio.py @@ -23,5 +23,5 @@ def clip_file(file): if __name__ == "__main__": infos = generate_infos() - with ThreadPoolExecutor(max_workers=os.cpu_count() - 2) as executor: + with ThreadPoolExecutor(max_workers=os.cpu_count()) as executor: executor.map(clip_file, infos)