Fixed Embedding Search and increased search results to 25

This commit is contained in:
Jack
2025-02-20 01:43:40 +02:00
parent 6afae0a6c0
commit 7bb7a67f91
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 {
+2 -2
View File
@@ -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