Update app.py
Browse files
app.py
CHANGED
|
@@ -360,7 +360,7 @@ def load_txt2img(model_id):
|
|
| 360 |
"allow_pickle": True,
|
| 361 |
}
|
| 362 |
|
| 363 |
-
#
|
| 364 |
if model_id in SAFETENSORS_MODELS:
|
| 365 |
model_params["use_safetensors"] = True
|
| 366 |
print(f"ℹ️ Verwende safetensors für {model_id}")
|
|
|
|
| 360 |
"allow_pickle": True,
|
| 361 |
}
|
| 362 |
|
| 363 |
+
# Die Modelle haben unterscgiedliche Gewichtsformate. Safetensors neu und schneller Zugriff!
|
| 364 |
if model_id in SAFETENSORS_MODELS:
|
| 365 |
model_params["use_safetensors"] = True
|
| 366 |
print(f"ℹ️ Verwende safetensors für {model_id}")
|