Skip to content

Commit

Permalink
update error message accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
eliteprox committed Aug 26, 2024
1 parent ef3fc17 commit a6baf94
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 @@ -199,7 +199,7 @@ def load_loras(pipeline: any, requested_lora: str, loaded_loras: list) -> list:
try:
lora = json.loads(requested_lora)
except Exception as e:
error_message = f"Unable to parse '{requested_lora}' as JSON. Continuing inference without loading this LoRa"
error_message = f"Unable to parse '{requested_lora}' as JSON."
logger.warning(error_message)
raise LoraLoadingError(error_message)

Expand Down

0 comments on commit a6baf94

Please sign in to comment.