From 3aa7e5f5aada0a48f08b573509ceece7b66e20fe Mon Sep 17 00:00:00 2001 From: Elite Encoder Date: Thu, 22 Aug 2024 16:29:40 -0400 Subject: [PATCH] fix incorrect variable --- 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 2470f43a..1d3bd06d 100644 --- a/runner/app/pipelines/utils/utils.py +++ b/runner/app/pipelines/utils/utils.py @@ -183,7 +183,7 @@ def load_loras(pipeline: any, requested_lora: str, loaded_loras: list) -> list: loras: JSON string with key-value pairs, where the key is the repository to load LoRas from and the value is the strength (float with a minimum value of 0.0) to assign to the LoRa. """ # No LoRas to load - if requested_loras == "" or requested_loras == None: + if requested_lora == "" or requested_lora == None: return; # Parse LoRas param as JSON to extract key-value pairs # Build a list of adapter names and their requested strength