mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-06-02 04:05:11 +00:00
feat(local): tiktoken cache within repo for offline (#1467)
This commit is contained in:
parent
02dc83e8e9
commit
821bca32e9
@ -22,3 +22,6 @@ os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
|||||||
# Disable chromaDB telemetry
|
# Disable chromaDB telemetry
|
||||||
# It is already disabled, see PR#1144
|
# It is already disabled, see PR#1144
|
||||||
# os.environ["ANONYMIZED_TELEMETRY"] = "False"
|
# 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"
|
||||||
|
2
tiktoken_cache/.gitignore
vendored
Normal file
2
tiktoken_cache/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
Loading…
Reference in New Issue
Block a user