mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-14 19:17:32 +08:00
now working
This commit is contained in:
parent
be3bea1eaf
commit
14aed1b320
3
nodes.py
3
nodes.py
@ -294,7 +294,7 @@ class SaveLatent:
|
||||
os.makedirs(full_output_folder, exist_ok=True)
|
||||
counter = 1
|
||||
|
||||
# save
|
||||
# support save metadata for latent sharing
|
||||
prompt_info = ""
|
||||
if prompt is not None:
|
||||
prompt_info = json.dumps(prompt)
|
||||
@ -307,7 +307,6 @@ class SaveLatent:
|
||||
file = f"{filename}_{counter:05}_.latent"
|
||||
file = os.path.join(full_output_folder, file)
|
||||
|
||||
print(file)
|
||||
sft.save_file(samples, file, metadata=metadata)
|
||||
|
||||
return {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user