Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,8 @@ def load_img2img():
|
|
| 88 |
print("Loading Inpainting model...")
|
| 89 |
try:
|
| 90 |
pipe_img2img = StableDiffusionInpaintPipeline.from_pretrained(
|
| 91 |
-
"
|
|
|
|
| 92 |
torch_dtype=torch_dtype,
|
| 93 |
use_safetensors=True, # Erzwinge .safetensors
|
| 94 |
allow_pickle=False, # Verhindere unsichere Serialisierung
|
|
|
|
| 88 |
print("Loading Inpainting model...")
|
| 89 |
try:
|
| 90 |
pipe_img2img = StableDiffusionInpaintPipeline.from_pretrained(
|
| 91 |
+
"runwayml/stable-diffusion-inpainting",
|
| 92 |
+
#"stabilityai/stable-diffusion-2-inpainting", # Neues Modell
|
| 93 |
torch_dtype=torch_dtype,
|
| 94 |
use_safetensors=True, # Erzwinge .safetensors
|
| 95 |
allow_pickle=False, # Verhindere unsichere Serialisierung
|