We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 797c56e + 8fbaf53 commit 7e10c9cCopy full SHA for 7e10c9c
src/streamdiffusion/wrapper.py
@@ -726,6 +726,7 @@ def img2img(
726
denormalized_image_tensor = image
727
if self.safety_checker(denormalized_image_tensor, self.safety_checker_threshold):
728
image = self.nsfw_fallback_img
729
+ logger.info(f"NSFW content detected, falling back to {self.nsfw_fallback_img} frame")
730
elif self.safety_checker_fallback_type == "previous":
731
self.nsfw_fallback_img = image
732
@@ -1594,6 +1595,7 @@ def _load_model(
1594
1595
cuda_stream,
1596
use_cuda_graph=True,
1597
)
1598
+ logger.info("Safety Checker engine loaded successfully")
1599
1600
if acceleration == "sfast":
1601
from streamdiffusion.acceleration.sfast import (
0 commit comments