Skip to content

Commit

Permalink
fix incorrect variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eliteprox committed Aug 22, 2024
1 parent e17dff2 commit 3aa7e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/app/pipelines/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3aa7e5f

Please sign in to comment.