Astridkraft commited on
Commit
62b2cb9
·
verified ·
1 Parent(s): 1f43844

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def load_img2img():
90
  "runwayml/stable-diffusion-inpainting",
91
  #"stabilityai/stable-diffusion-2-inpainting", # Neues Modell
92
  torch_dtype=torch_dtype,
93
- use_safetensors=True, # Erzwinge .safetensors
94
  allow_pickle=False, # Verhindere unsichere Serialisierung
95
  safety_checker=None,
96
  #clean_up_tokenization_spaces=False #benötigt neue Transformer-Version
 
90
  "runwayml/stable-diffusion-inpainting",
91
  #"stabilityai/stable-diffusion-2-inpainting", # Neues Modell
92
  torch_dtype=torch_dtype,
93
+ #use_safetensors=True, # Erzwinge .safetensors
94
  allow_pickle=False, # Verhindere unsichere Serialisierung
95
  safety_checker=None,
96
  #clean_up_tokenization_spaces=False #benötigt neue Transformer-Version