Skip to content

Commit 2cd40fb

Browse files
committed
I forgot self haha
1 parent 52138b2 commit 2cd40fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def get_text_latent_space(self, prompt, guidance_scale = 7.5):
198198

199199
return text_embeddings
200200

201-
def slerp(t, v0, v1, DOT_THRESHOLD=0.9995):
201+
def slerp(self, t, v0, v1, DOT_THRESHOLD=0.9995):
202202
""" helper function to spherically interpolate two arrays v1 v2
203203
from https://gist.github.com/karpathy/00103b0037c5aaea32fe1da1af553355
204204
this should be better than lerping for moving between noise spaces """

0 commit comments

Comments
 (0)