Spaces:
Sleeping
Sleeping
fix: add spaces package to requirements for ZeroGPU detection
Browse filesThe spaces import in app.py was silently falling back to a no-op mock
decorator because the spaces package was never installed on the Space,
so @spaces.GPU never registered a real GPU function and HF's ZeroGPU
scheduler rejected startup with "No @spaces.GPU function detected".
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- requirements.txt +1 -0
requirements.txt
CHANGED
|
@@ -10,3 +10,4 @@ uvicorn[standard]>=0.22.0
|
|
| 10 |
python-multipart>=0.0.6
|
| 11 |
pydantic>=2.0.0
|
| 12 |
gradio>=5.0.0
|
|
|
|
|
|
| 10 |
python-multipart>=0.0.6
|
| 11 |
pydantic>=2.0.0
|
| 12 |
gradio>=5.0.0
|
| 13 |
+
spaces>=0.30.0
|