mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
Allow for empty lora (no loras option) in Lora Pool
This commit is contained in:
@@ -97,6 +97,10 @@ class LoraRoutes(BaseModelRoutes):
|
||||
h.lower() for h in request.query["lora_hashes"].split(",")
|
||||
]
|
||||
|
||||
include_empty_lora = request.query.get("include_empty_lora")
|
||||
if include_empty_lora is not None:
|
||||
params["include_empty_lora"] = include_empty_lora.lower() == "true"
|
||||
|
||||
return params
|
||||
|
||||
def _validate_civitai_model_type(self, model_type: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user