Skip to content

Commit 081b931

Browse files
JPPhotopsychedelicious
authored andcommitted
Update util.py
Changed string to a literal
1 parent 8cd7035 commit 081b931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/app/invocations/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ def validate_weights(weights: Union[float, list[float]]) -> None:
1111
def validate_begin_end_step(begin_step_percent: float, end_step_percent: float) -> None:
1212
"""Validate that begin_step_percent is less than or equal to end_step_percent"""
1313
if begin_step_percent > end_step_percent:
14-
raise ValueError(f"Begin step percent must be less than or equal to end step percent")
14+
raise ValueError("Begin step percent must be less than or equal to end step percent")

0 commit comments

Comments
 (0)