mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 07:40:12 +01:00
Merge 8f42012a9e into b7ee43788d
This commit is contained in:
commit
f60a475277
1 changed files with 2 additions and 1 deletions
|
|
@ -24,4 +24,5 @@ os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
||||||
# os.environ["ANONYMIZED_TELEMETRY"] = "False"
|
# os.environ["ANONYMIZED_TELEMETRY"] = "False"
|
||||||
|
|
||||||
# adding tiktoken cache path within repo to be able to run in offline environment.
|
# adding tiktoken cache path within repo to be able to run in offline environment.
|
||||||
os.environ["TIKTOKEN_CACHE_DIR"] = "tiktoken_cache"
|
# Only set to cache within the repo if the user has not declared a cache path
|
||||||
|
os.environ.setdefault("TIKTOKEN_CACHE_DIR", "tiktoken_cache")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue