Download requirements.txt from therandomuser03/psypredict-backend: direct link, hf CLI and curl.
- Browser
- Download file 2.55 kB
-
https://huggingface.co/spaces/therandomuser03/psypredict-backend/resolve/main/requirements.txt
- Command line
-
hf download hf://spaces/therandomuser03/psypredict-backend/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/spaces/therandomuser03/psypredict-backend/resolve/main/requirements.txt
2.55 kB
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # PsyPredict Backend β Python Dependencies | |
| # | |
| # HOW TORCH IS HANDLED: | |
| # Docker: torch is pre-installed in a separate layer BEFORE this file runs: | |
| # RUN pip install torch --index-url https://download.pytorch.org/whl/cpu | |
| # pip will then skip the torch line below (version already satisfied). | |
| # Local: Run manually first: | |
| # pip install torch --index-url https://download.pytorch.org/whl/cpu | |
| # Then: pip install -r requirements.txt | |
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # ββ Core Backend (FastAPI) ββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| fastapi>=0.111.0 | |
| uvicorn[standard]>=0.30.0 | |
| python-dotenv>=1.0.0 | |
| pydantic>=2.0.0 | |
| pydantic-settings>=2.0.0 | |
| # ββ HTTP + Async ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| httpx>=0.27.0 | |
| anyio>=4.0.0 | |
| # ββ Rate Limiting βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| slowapi>=0.1.9 | |
| # ββ Computer Vision (CPU-only, no CUDA) ββββββββββββββββββββββββββββββββββββββ | |
| numpy<2.0 | |
| opencv-python-headless | |
| pillow | |
| # ββ Deep Learning: TensorFlow CPU (Keras face emotion model) βββββββββββββββββ | |
| tensorflow-cpu | |
| pandas | |
| gdown | |
| # ββ Deep Learning: PyTorch CPU + HuggingFace Transformers ββββββββββββββββββββ | |
| torch>=2.0.0 --index-url https://download.pytorch.org/whl/cpu | |
| transformers>=4.40.0 | |
| sentencepiece==0.1.99 | |
| huggingface-hub>=0.23.0 | |
| # ββ Utilities βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| requests | |
| python-multipart | |