Merge pull request #131 from JSchmie/fix_env_var
Re-fixed PYANNOTE_CACHE, now writes the variable.
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ CACHE_DIR = os.getenv(
|
|||||||
"AUTOT_CACHE",
|
"AUTOT_CACHE",
|
||||||
os.path.expanduser("~/.cache/torch/models"),
|
os.path.expanduser("~/.cache/torch/models"),
|
||||||
)
|
)
|
||||||
os.getenv(
|
os.environ["PYANNOTE_CACHE"] = os.getenv(
|
||||||
"PYANNOTE_CACHE",
|
"PYANNOTE_CACHE",
|
||||||
os.path.join(CACHE_DIR, "pyannote"),
|
os.path.join(CACHE_DIR, "pyannote"),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user