fix: removed invalid syntax

This commit is contained in:
Lorenzo 2025-04-18 21:46:29 +00:00
parent f825066804
commit 72768c272e

View File

@ -73,7 +73,7 @@ class Pipeline:
"name": model["name"] if "name" in model else model["id"], "name": model["name"] if "name" in model else model["id"],
} }
for model in models["data"] for model in models["data"]
if any(substring in model["id"] for substring in allowed_models): if any(substring in model["id"] for substring in allowed_models)
] ]
except Exception as e: except Exception as e: