mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
fix(video): exclude dropdown separators from model resolution
The registry helpers filtered only the 'None' placeholder, so the eleven LTX separator rows resolved as models and a POST naming one reached load_model with a null repo. is_model() now covers both sentinel kinds.
This commit is contained in:
@@ -244,7 +244,7 @@ class APIVideo:
|
||||
if engine is not None and family.lower() != engine.lower():
|
||||
continue
|
||||
for m in rows:
|
||||
if m.name == 'None':
|
||||
if not models_def.is_model(m):
|
||||
continue
|
||||
items.append(ItemVideoModel(
|
||||
engine=family,
|
||||
|
||||
Reference in New Issue
Block a user