Skip to content

Commit

Permalink
fix: toggle off SDK loguru sinks
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Oct 4, 2023
1 parent d6f0cdd commit 4434f92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,4 @@ plugins = [

[tool.ruff.per-file-ignores]
"download_models.py" = ["E402"]
"run_worker.py" = ["E402"]
4 changes: 4 additions & 0 deletions run_worker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import os

os.environ["HORDE_SDK_DISABLE_CUSTOM_SINKS"] = "1"

import argparse
import contextlib
import multiprocessing
Expand Down

0 comments on commit 4434f92

Please sign in to comment.