diff --git a/clientlibs/utils.js b/clientlibs/utils.js index 52f4221..e19cb8b 100644 --- a/clientlibs/utils.js +++ b/clientlibs/utils.js @@ -348,7 +348,7 @@ async function searchNodeHandler(searchNode, searchInputWidget) { modelTypeValue = DEFAULT_CONTROLNET_CONDITIONING_LIST[modelTypeWidget.value]; } else { if(isEmbedding) { - modelTypeValue = "embedding"; + modelTypeValue = "embeddings"; } else if(isVAE) { modelTypeValue = "vae"; } else { diff --git a/modules/bridges/mainRoute.py b/modules/bridges/mainRoute.py index fdce16d..7d046e8 100644 --- a/modules/bridges/mainRoute.py +++ b/modules/bridges/mainRoute.py @@ -66,11 +66,11 @@ async def modelSearch(reqPayload): "taskType": "modelSearch", "taskUUID": rwUtils.genRandUUID(), "category": modelCategory, - "limit": 20, + "limit": 25, "sort": "-downloadCount", }] - aclTypes = ["controlnet", "lora", "lycoris", "embedding", "vae"] + aclTypes = ["controlnet", "lora", "lycoris", "embeddings", "vae"] if(modelCategory not in aclTypes): utilityConfig[0]["type"] = modelType