Skip to content

Commit 1065c60

Browse files
suzukimainhlky
andauthored
Update src/diffusers/pipelines/stable_diffusion/safety_checker.py
Co-authored-by: hlky <[email protected]>
1 parent 3c734d4 commit 1065c60

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/pipelines/stable_diffusion/safety_checker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ def forward_onnx(self, clip_input: torch.Tensor, images: torch.Tensor):
140140

141141
# increase this value to create a stronger `nsfw` filter
142142
# at the cost of increasing the possibility of filtering benign images
143-
#adjustment = 0.0
144143

145144
special_scores = special_cos_dist - self.special_care_embeds_weights + self.adjustment
146145
# special_scores = special_scores.round(decimals=3)

0 commit comments

Comments
 (0)