mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 17:05:41 +01:00
feat(local): tiktoken cache within repo for offline (#1467)
This commit is contained in:
parent
02dc83e8e9
commit
821bca32e9
2 changed files with 5 additions and 0 deletions
|
|
@ -22,3 +22,6 @@ os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
|||
# Disable chromaDB telemetry
|
||||
# It is already disabled, see PR#1144
|
||||
# os.environ["ANONYMIZED_TELEMETRY"] = "False"
|
||||
|
||||
# adding tiktoken cache path within repo to be able to run in offline environment.
|
||||
os.environ["TIKTOKEN_CACHE_DIR"] = "tiktoken_cache"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue