Spaces:
Paused
Paused
Commit History
-
Fix launch-timeout crash; download weights from model repo
Root cause: requirements.txt installed both yolov5 and an unused ultralytics dependency with no torch pin, causing slow/conflicting resolution and full CUDA wheel downloads on cpu-basic hardware past the 30-minute health-check window. Drop the unused ultralytics dep, pin CPU-only torch/torchvision, patch torch.load for PyTorch 2.6+'s weights_only default so the legacy yolov5 checkpoints still load, and load weights from the FathomNet/megafishdetector model repo via huggingface_hub instead of bundling 550MB of weights in the Space repo. Bump gradio to 6.9.0. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>6fdddf2
-
add gradio app
Verified signature24bbd9e