| # --- HuggingFace ZeroGPU Space --- | |
| # gradio is NOT pinned here — its version is controlled by `sdk_version` in the | |
| # README.md front-matter (the HF Gradio SDK installs it). | |
| # | |
| # ZeroGPU requires CUDA PyTorch >= 2.8.0 and the `spaces` package. Select the | |
| # "ZeroGPU" hardware in the Space settings (requires a PRO/Team/Enterprise plan). | |
| spaces | |
| requests>=2.31.0 | |
| python-dotenv>=1.0.0 | |
| numpy>=1.26.0 | |
| huggingface_hub>=0.24.0 | |
| sentencepiece | |
| tiktoken | |
| # LLM agent: openbmb/MiniCPM5-1B (safetensors) via transformers, run on ZeroGPU. | |
| transformers==5.8.1 | |
| torch==2.8.0 | |
| accelerate==1.13.0 | |