fix: pin diffusers and update converter compatibility

#6
by michellehbn HF Staff - opened

requirements.txt tracks diffusers main, so the running image depends on the last build. This PR pins diffusers to 0.40.0.

A fresh build with Gradio 3.31.0 fails against current gradio-client. The current Hub SDK also returns a commit URL that the converter incorrectly parses as a PR number.

Upgrade the Space to Gradio 6.27.0 on Python 3.13 and migrate the Interface, queue and launch arguments, keeping one conversion at a time and a queue size of 10. Return the created PR URL using CommitInfo.pr_url.

Validation: fresh dependency installation on Python 3.13.13 / macOS arm64; uv pip check; real Gradio server with root and config HTTP 200; synthetic Safetensors loading; conversion orchestration, error handling and PR-link checks with the model pipeline and Hub uploads stubbed.

A full SDXL conversion and the Linux Space deployment remain to be verified after merge.

GuillaumeSalouHF changed pull request title from Pin diffusers to 0.40.0 to fix: pin diffusers and update converter compatibility
michellehbn changed pull request status to merged

Sign up or log in to comment