Skip to content

Commit 0ecc5c9

Browse files
docs(ui): comments in modelsLoaded
1 parent 5dfe9aa commit 0ecc5c9

File tree

1 file changed

+1
-1
lines changed
  • invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners

1 file changed

+1
-1
lines changed

invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/modelsLoaded.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ const handleTileControlNetModel: ModelHandler = (models, state, dispatch, log) =
360360
return;
361361
}
362362

363-
// Find a model with "Tile" in the name, case-insensitive
363+
// The only way we have to identify a model as a tile model is by its name containing 'tile' :)
364364
const tileModel = controlNetModels.find((m) => m.name.toLowerCase().includes('tile'));
365365

366366
// If we have a tile model, select it

0 commit comments

Comments
 (0)