mirror of
https://github.com/open-webui/pipelines
synced 2025-05-10 07:30:47 +00:00
fix: removed invalid syntax
This commit is contained in:
parent
f825066804
commit
72768c272e
@ -73,7 +73,7 @@ class Pipeline:
|
||||
"name": model["name"] if "name" in model else model["id"],
|
||||
}
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user