mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
make style
This commit is contained in:
@@ -889,7 +889,7 @@ def main():
|
||||
if global_step % args.save_steps == 0:
|
||||
weight_name = (
|
||||
f"learned_embeds-steps-{global_step}.bin"
|
||||
if args.no_safe_serialization
|
||||
if args.no_safe_serialization
|
||||
else f"learned_embeds-steps-{global_step}.safetensors"
|
||||
)
|
||||
save_path = os.path.join(args.output_dir, weight_name)
|
||||
|
||||
Reference in New Issue
Block a user