safety checker to None

This commit is contained in:
bendeguzvaradi committed 2023-09-11 17:05:55 +02:00
1 parent bee0b6a235
commit 3d387103cd
1 file changed
+1 -1
+1 -1
View File
@@ -212,7 +212,7 @@ class StableDiffusion:
device=self.device_torch,
load_safety_checker=False,
requires_safety_checker=False,
safety_checker=False
safety_checker=None
).to(self.device_torch)
else:
pipe = pipln.from_single_file(