diff --git a/requirements.txt b/requirements.txt index 9fe1060..782e092 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,5 @@ chromadb loguru sentence-transformers pinecone -faiss +faiss-cpu torch diff --git a/server/Dockerfile b/server/Dockerfile index 0b13119..7e9e2b8 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -29,4 +29,5 @@ COPY . . EXPOSE 8000 # Command to run the application with Uvicorn and Gunicorn -CMD ["gunicorn", "main:api", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8000"] +# CMD ["gunicorn", "api:api", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8000"] +CMD ["python3", "api.py"] \ No newline at end of file diff --git a/server/requirements.txt b/server/requirements.txt index e28c908..e0909cf 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -1,4 +1,5 @@ chromadb fastapi pydantic -loguru \ No newline at end of file +loguru +faiss-gpu \ No newline at end of file