mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +00:00
Add format metadata to CLIP save to make compatible with diffusers safetensors loading (#4233)
This commit is contained in:
parent
841e74ac40
commit
f3bc40223a
@ -264,6 +264,7 @@ class CLIPSave:
|
||||
|
||||
metadata = {}
|
||||
if not args.disable_metadata:
|
||||
metadata["format"] = "pt"
|
||||
metadata["prompt"] = prompt_info
|
||||
if extra_pnginfo is not None:
|
||||
for x in extra_pnginfo:
|
||||
|
Loading…
Reference in New Issue
Block a user