Spaces:
Paused
Paused
has_nsfw_concept
Browse files
latent_consistency_img2img.py
CHANGED
@@ -171,7 +171,7 @@ class LatentConsistencyModelImg2ImgPipeline(DiffusionPipeline):
|
|
171 |
return prompt_embeds
|
172 |
|
173 |
def run_safety_checker(self, image, device, dtype):
|
174 |
-
|
175 |
|
176 |
return image, has_nsfw_concept
|
177 |
|
|
|
171 |
return prompt_embeds
|
172 |
|
173 |
def run_safety_checker(self, image, device, dtype):
|
174 |
+
has_nsfw_concept = None
|
175 |
|
176 |
return image, has_nsfw_concept
|
177 |
|