Fix formatting issues

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Adam Ladachowski
2026-02-15 19:57:55 +01:00
parent 24aaca2a48
commit fb27f8a9b0
2 changed files with 6 additions and 18 deletions
+1 -3
View File
@@ -115,9 +115,7 @@ def get_hf_model(
# Get safetensor files
siblings = getattr(model, "siblings", None) or []
safetensor_files = [
{"rfilename": s.rfilename, "size": getattr(s, "size", None)}
for s in siblings
if s.rfilename.endswith(".safetensors")
{"rfilename": s.rfilename, "size": getattr(s, "size", None)} for s in siblings if s.rfilename.endswith(".safetensors")
]
model_dict["_safetensor_files"] = safetensor_files