Fixed Embedding Search and increased search results to 25
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user