Skip to content

Commit

Permalink
[FIX]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye Gomez authored and Kye Gomez committed Aug 12, 2024
1 parent f0a610f commit 41e645f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ chromadb
loguru
sentence-transformers
pinecone
faiss
faiss-cpu
torch
3 changes: 2 additions & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 2 additions & 1 deletion server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
chromadb
fastapi
pydantic
loguru
loguru
faiss-gpu

0 comments on commit 41e645f

Please sign in to comment.