From 575a8de48d39b6756ce671842abc3f066a79d5c5 Mon Sep 17 00:00:00 2001 From: Marko Henning Date: Tue, 1 Oct 2024 17:47:55 +0200 Subject: [PATCH] Re-fixed PYANNOTE_CACHE, now writes the variable. --- scraibe/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraibe/misc.py b/scraibe/misc.py index 106b9e1..e865f52 100644 --- a/scraibe/misc.py +++ b/scraibe/misc.py @@ -7,7 +7,7 @@ CACHE_DIR = os.getenv( "AUTOT_CACHE", os.path.expanduser("~/.cache/torch/models"), ) -os.getenv( +os.environ["PYANNOTE_CACHE"] = os.getenv( "PYANNOTE_CACHE", os.path.join(CACHE_DIR, "pyannote"), )