[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
c1f9aac510
commit
0ae20554dc
1 changed files with 3 additions and 1 deletions
|
|
@ -664,7 +664,9 @@ class DiffusionBackend:
|
|||
with self._lock:
|
||||
self._last_error = exc_msg
|
||||
logger.exception("Diffusion load failed for %s", repo_id)
|
||||
raise RuntimeError(f"Failed to load diffusion model: {exc_msg}") from exc
|
||||
raise RuntimeError(
|
||||
f"Failed to load diffusion model: {exc_msg}"
|
||||
) from exc
|
||||
finally:
|
||||
with self._lock:
|
||||
self._loading = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue