Skip to content

Commit 0a3f908

Browse files
committed
Add kornia install instructions to kornia import error message
1 parent 0faa57a commit 0a3f908

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/diffusers/guiders/frequency_decoupled_guidance.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ def __init__(
144144
):
145145
if not _CAN_USE_KORNIA:
146146
raise ImportError(
147-
"The `FrequencyDecoupledGuidance` guider cannot be instantiated because the `kornia` library on which"
148-
"it depends is not available in the current environment."
147+
"The `FrequencyDecoupledGuidance` guider cannot be instantiated because the `kornia` library on which "
148+
"it depends is not available in the current environment. You can install `kornia` with `pip install "
149+
"kornia`."
149150
)
150151

151152
# Set start to earliest start for any freq component and stop to latest stop for any freq component

0 commit comments

Comments
 (0)