Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ def load_img2img():
|
|
| 108 |
pipe_img2img = StableDiffusionInpaintPipeline.from_pretrained(
|
| 109 |
"runwayml/stable-diffusion-inpainting",
|
| 110 |
torch_dtype=torch_dtype,
|
| 111 |
-
use_safetensors=True, # Sicherheitsproblem behoben
|
| 112 |
allow_pickle=False,
|
| 113 |
safety_checker=None,
|
| 114 |
).to(device)
|
|
|
|
| 108 |
pipe_img2img = StableDiffusionInpaintPipeline.from_pretrained(
|
| 109 |
"runwayml/stable-diffusion-inpainting",
|
| 110 |
torch_dtype=torch_dtype,
|
| 111 |
+
#use_safetensors=True, # Sicherheitsproblem behoben
|
| 112 |
allow_pickle=False,
|
| 113 |
safety_checker=None,
|
| 114 |
).to(device)
|