From b11f621286a52c47dada9ef2c807ba6118cb7928 Mon Sep 17 00:00:00 2001 From: Elite Encoder Date: Thu, 22 Aug 2024 16:34:21 -0400 Subject: [PATCH] remove semicolon --- runner/app/pipelines/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []