1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00

allow loading of sd models from safetensors without online lookups using local config files (#5019)

finish config_files implementation
This commit is contained in:
Vladimir Mandic
2023-09-14 06:30:15 -04:00
committed by Patrick von Platen
parent 0c2f1ccc97
commit 7512fc4df5
3 changed files with 22 additions and 7 deletions

View File

@@ -154,6 +154,7 @@ if __name__ == "__main__":
pipe = download_from_original_stable_diffusion_ckpt(
checkpoint_path_or_dict=args.checkpoint_path,
original_config_file=args.original_config_file,
config_files=args.config_files,
image_size=args.image_size,
prediction_type=args.prediction_type,
model_type=args.pipeline_type,