chatbot / .env
JDWebProgrammer's picture
Upload 17 files
964d65a
raw
history blame
694 Bytes
###########################
## Environment Variables ##
###########################
# ChromaDB Directory
PERSIST_DIRECTORY=./data/vectorstore
# ChromaDB Telemetry
ANONYMIZED_TELEMETRY=False
ALLOW_RESET=TRUE
GRADIO_ANALYTICS_ENABLED=False
# Environment Variables
CUDA_VISIBLE_DEVICES = 0 # cpu only
NUMEXPR_MAX_THREADS=4 # set number of threads to use
ROCM_VERSION=5.6
#CUDA_HOME=""
# CACHE
APP_CACHE = "./models/"
SENTENCE_TRANSFORMERS_HOME=${APP_CACHE}sentence-transformers/
HF_HOME=${APP_CACHE}huggingface
XDG_CACHE_HOME=${APP_CACHE}xdg
TRANSFORMERS_CACHE=${APP_CACHE}transformers
PYTORCH_TRANSFORMERS_CACHE=${APP_CACHE}pytorch
PYTORCH_PRETRAINED_BERT_CACHE=${APP_CACHE}pytorch-bert