Spaces:
Sleeping
Sleeping
Commit History
-
Use lightweight cached u2netp rembg session for background-removal tools
remove-background / transparent-background / replace-background loaded rembg's default u2net model (~176MB) on every call, which was crash-looping the Celery worker on the constrained HF free tier — jobs sat stuck in "queued" and never ran. Switch to the lightweight u2netp model (~4.7MB) via a single module-cached session shared across the three workers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>c263a50 -
Fix systemic tool breakage: sign worker-side Cloudinary fetch + fail-fast jobs
- file_downloader.download_file: sign Cloudinary URLs (private_download_url) before fetching — raw delivery URLs are ACL-blocked (HTTP 401), which was failing the input download for every job-based tool. - conversion_helpers.start_file_job: mark the job failed on download/file error instead of leaving the caller's job=None (which no-op'd fail_job and hung the row in "processing" forever — the 95% UI hang). - jobs.get_job_status: include error_message when status=="failed" so failed jobs are debuggable from the API. - sign tool frontend: gate submit on non-empty typed signature / stamp image / certificate so empty fields don't 400 at the backend. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>3652f05 -
Initial commit: FilezKit backend + frontend, dockerized for HF Spaces
Crs-Lionel +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>82a25a8