# Gradio is pinned to 5.50.0 in the README frontmatter, not here, and the pin # is forced by this file: acestep needs transformers<4.58, transformers<4.58 # needs huggingface_hub<1.0, and gradio 6.x needs huggingface_hub>=1.16. # Building on gradio 6 fails to resolve. # # Derived from the repo's own requirements.txt, minus: # - torch / torchvision: ZeroGPU preinstalls them, and the repo's pins are # CUDA-wheel specific (cu128) which the Blackwell runtime does not want. # - gradio / spaces / huggingface_hub: preinstalled and platform-managed; # pinning them breaks the ZeroGPU runtime. # - flash-attn: a Windows wheel URL in the original; the model loader falls # back to sdpa when it is absent, which is what we want here. # - mlx / triton-windows: platform-specific, not applicable. # - fastapi / uvicorn / tensorboard / lightning / lycoris: API server and # training only, this Space just runs inference. safetensors==0.7.0 torchaudio transformers>=4.51.0,<4.58.0 diffusers matplotlib>=3.7.5 scipy>=1.10.1 soundfile>=0.13.1 loguru>=0.7.3 einops>=0.8.1 accelerate>=1.12.0 numba>=0.63.1 vector-quantize-pytorch>=1.27.15 torchcodec>=0.9.1 torchao toml modelscope peft>=0.18.0 xxhash