Startup cannot load runwayml/stable-diffusion-v1-5: that repo id was renamed — load the successor id

#4
by nootxlm - opened

app.py (line 40–41) builds its pipeline from "runwayml/stable-diffusion-v1-5", and startup dies there:

Repository Not Found for url: https://huggingface.co/api/models/runwayml/stable-diffusion-v1-5 — OSError: Cannot load model runwayml/stable-diffusion-v1-5

The model did not disappear; the repo moved. Asked for the old id today, the Hub API answers with the successor's id — stable-diffusion-v1-5/stable-diffusion-v1-5 — because runwayml/stable-diffusion-v1-5 was renamed to it. The download path in this Space's stack raises Not Found on the old id instead of following the rename, so the Space cannot boot as written.

The durable fix is one string: load "stable-diffusion-v1-5/stable-diffusion-v1-5" in app.py. That id is the canonical home now and does not depend on rename handling in any particular hub version.

One limit, stated plainly: I verified the rename at the API level and the failure in this Space's recorded traceback; I did not restart the Space. If a rebuild on a newer hub already follows the rename, the boot may clear on its own — the canonical id is still the version that cannot regress the next time the repo or the library moves.

Sign up or log in to comment