Skip to content

Commit

Permalink
style and quality changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kesimeg committed Oct 17, 2023
1 parent 0e8038c commit 92b5243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/models/unet_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def forward(
emb = emb + class_emb
elif self.class_embedding is None and class_labels is not None:
raise ValueError("class_embedding needs to be initialized in order to use class conditioning")

# 2. pre-process
skip_sample = sample
sample = self.conv_in(sample)
Expand Down

0 comments on commit 92b5243

Please sign in to comment.