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
|
||||
# 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"
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
Loading…
Reference in New Issue