From 8ec258f80332d54c0373190417e16f5d635b8842 Mon Sep 17 00:00:00 2001 From: Leonardo Schwarz Date: Mon, 12 Aug 2024 14:54:21 +0200 Subject: [PATCH] add multiprocessing.freeze_support --- src/depiction_targeted_preprocbatch/executor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/depiction_targeted_preprocbatch/executor.py b/src/depiction_targeted_preprocbatch/executor.py index 726bfd1..f17bd22 100644 --- a/src/depiction_targeted_preprocbatch/executor.py +++ b/src/depiction_targeted_preprocbatch/executor.py @@ -1,5 +1,6 @@ from __future__ import annotations +import multiprocessing from dataclasses import dataclass from pathlib import Path @@ -133,4 +134,5 @@ def process_app( if __name__ == "__main__": + multiprocessing.freeze_support() app()