Spaces:
Running on Zero
Running on Zero
Commit History
-
add Auto Running
ad316d6 -
Add @spaces.GPU decorator for ZeroGPU Space compatibility
ZeroGPU Spaces do not attach a GPU to the main process; they require at least one @spaces.GPU-decorated function so the scheduler knows what to attach a GPU to for the duration of the call, or startup fails with "No @spaces.GPU function detected during startup". Decorate the button event handler (run_alignment), and import spaces before torch per ZeroGPU's required import order. Model loading already happened lazily on first align() call, so it now runs inside the GPU-attached window instead of at startup.0189aeb -
update numpy ver req
1cb4b1f -
Fix Space build: pin full dependency chain to resolve pip resolver failure
qwen-asr leaves several transitive deps unpinned (librosa, qwen-omni-utils, flask, sox, pytz), which combined with our own loose torch/numpy bounds made pip's resolver back-track across a huge version matrix and hit "Dependency resolution exceeded maximum depth". Pin the whole chain to exact, verified-compatible versions instead. This also surfaced two real incompatibilities, fixed by pinning: - gradio>=6.18.0 requires huggingface-hub>=1.2.0, which conflicts with transformers==4.57.6 (hard-pinned by qwen-asr, needs huggingface-hub<1.0). Capped sdk_version/gradio at 6.17.3. - soynlp==0.0.493 (hard-pinned by qwen-asr) fails to build on Python 3.12+. Pinned Space python_version to 3.11. Verified with `pip install --dry-run` against HF's exact injected build constraints, and a real `python app.py` smoke test on the pinned versions.01dd26b -
Pin Space python_version to match existing HF Space config
01d77b8 -
Merge Hugging Face Space scaffold, keep local project files
326e9cc -
initial commit
Verified signatureb23bd56 -
init commit
338c6c4