Spaces:
Sleeping
Sleeping
Commit History
-
Fix HF Space startup: CPU wheels, auto-detect device
- Switch torch install to CPU wheels (default). CUDA wheels are 2.5 GB and cause build timeouts on HF Spaces free hardware. GPU deploys can pass --build-arg TORCH_INDEX=.../cu126 at build time. - Remove DEVICE=cuda from Dockerfile ENV: was crashing on CPU Spaces because no CUDA device exists. Now empty so Python auto-detects. - Change MODEL_PATH default to openai/whisper-large-v3 (a valid HF Hub ID) instead of a local path that doesn't exist in the container. - Remove --index-url from requirements-api.txt so pip doesn't try to pull all packages through the CUDA wheel index. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>27216ff -
Deploy to HF Spaces
0db822c