From 4434f92e2adc9be981fed5a0b3a1d3420f2e2252 Mon Sep 17 00:00:00 2001 From: tazlin Date: Wed, 4 Oct 2023 10:05:37 -0400 Subject: [PATCH] fix: toggle off SDK loguru sinks --- pyproject.toml | 1 + run_worker.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2f4c8f24..a0a97bb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,3 +97,4 @@ plugins = [ [tool.ruff.per-file-ignores] "download_models.py" = ["E402"] +"run_worker.py" = ["E402"] diff --git a/run_worker.py b/run_worker.py index 9cdc4faa..fbbcf195 100644 --- a/run_worker.py +++ b/run_worker.py @@ -1,3 +1,7 @@ +import os + +os.environ["HORDE_SDK_DISABLE_CUSTOM_SINKS"] = "1" + import argparse import contextlib import multiprocessing