Setup process

This commit is contained in:
Alex
2023-11-21 10:16:10 +00:00
parent 67854b3ebd
commit 4141f633a3

View File

@@ -30,11 +30,11 @@ download_locally() {
fi fi
docker-compose -f docker-compose-local.yaml build && docker-compose -f docker-compose-local.yaml up -d docker-compose -f docker-compose-local.yaml build && docker-compose -f docker-compose-local.yaml up -d
#python -m venv venv python -m venv venv
#source venv/bin/activate source venv/bin/activate
#pip install -r application/requirements.txt pip install -r application/requirements.txt
#pip install llama-cpp-python pip install llama-cpp-python
#pip install sentence-transformers pip install sentence-transformers
export LLM_NAME=llama.cpp export LLM_NAME=llama.cpp
export EMBEDDINGS_NAME=huggingface_sentence-transformers/all-mpnet-base-v2 export EMBEDDINGS_NAME=huggingface_sentence-transformers/all-mpnet-base-v2
export FLASK_APP=application/app.py export FLASK_APP=application/app.py