# requirements.txt fastapi==0.95.2 uvicorn==0.22.0 pymupdf==1.22.5 nltk==3.8.1 python-multipart==0.0.6 transformers==4.31.0 torch==2.0.1 scikit-learn==1.2.2 numpy==1.24.3 # fastapi>=0.95.2,<1.0.0 # Pinning to major version for stability # uvicorn>=0.22.0,<0.25.0 # With compatible ASGI server range # transformers>=4.31.0,<4.35.0 # Keeping within known-compatible versions # torch>=2.0.1,<2.1.0 # Matching your CUDA/CPU requirements # pymupdf>=1.22.5,<1.24.0 # Stable PDF processing # python-multipart>=0.0.6 # For file uploads # scikit-learn>=1.2.0,<1.4.0 # For cosine_similarity # nltk>=3.8.1,<3.9.0 # For sentence tokenization # numpy>=1.23.0,<1.26.0 # For numerical operations