Merge pull request #131 from JSchmie/fix_env_var

Re-fixed PYANNOTE_CACHE, now writes the variable.
This commit is contained in:
Jacob Schmieder
2024-10-08 13:17:30 +02:00
committed by GitHub
+1 -1
View File
@@ -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"),
)