[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-06 11:59:35 +00:00
commit 37ed4efaa6

View file

@ -3521,7 +3521,6 @@ async def delete_cached_model(
# pipeline -- the same invariant the three guards above enforce. Repo-level match.
try:
from core.inference.video import get_video_backend
video_status = get_video_backend().status()
if video_status.get("loaded") and video_status.get("repo_id"):
loaded_id = str(video_status["repo_id"]).lower()