Download requirements.txt from Nausad/Vision_Transformer_Based_Image_Classification_Model: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/Nausad/Vision_Transformer_Based_Image_Classification_Model/resolve/main/requirements.txt
- Command line
-
hf download hf://spaces/Nausad/Vision_Transformer_Based_Image_Classification_Model/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/spaces/Nausad/Vision_Transformer_Based_Image_Classification_Model/resolve/main/requirements.txt
378 Bytes
| # CPU-only PyTorch — install with the HF-friendly CPU wheels index | |
| # (Dockerfile passes --extra-index-url https://download.pytorch.org/whl/cpu) | |
| torch==2.1.2+cpu | |
| torchvision==0.16.2+cpu | |
| flask==3.1.3 | |
| Pillow==10.4.0 | |
| gunicorn==21.2.0 | |
| # torch 2.1.x was compiled against NumPy 1.x — pin to <2 to avoid | |
| # "Failed to initialize NumPy: _ARRAY_API not found" crash at startup | |
| numpy<2 | |