diff --git a/runner/app/pipelines/utils/utils.py b/runner/app/pipelines/utils/utils.py index 1d3bd06d..d4714bce 100644 --- a/runner/app/pipelines/utils/utils.py +++ b/runner/app/pipelines/utils/utils.py @@ -184,7 +184,7 @@ def load_loras(pipeline: any, requested_lora: str, loaded_loras: list) -> list: """ # No LoRas to load if requested_lora == "" or requested_lora == None: - return; + return # Parse LoRas param as JSON to extract key-value pairs # Build a list of adapter names and their requested strength adapters = []