mirror of
https://github.com/vladmandic/automatic
synced 2026-09-17 16:24:33 +02:00
@@ -51,7 +51,6 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma
|
||||
- [Magi](https://github.com/SandAI-org/MAGI-1)(https://github.com/huggingface/diffusers/pull/11713)
|
||||
- [SEVA](https://github.com/huggingface/diffusers/pull/11440)
|
||||
#### External:Unified/MultiModal
|
||||
- [Bagel](https://huggingface.co/ByteDance-Seed/BAGEL-7B-MoT)(https://github.com/bytedance-seed/bagel)
|
||||
- [Ming](https://github.com/inclusionAI/Ming)
|
||||
- [Liquid](https://github.com/FoundationVision/Liquid)
|
||||
#### External:Image2Image/Editing
|
||||
|
||||
+2
-2
@@ -172,12 +172,12 @@ def save_image(image,
|
||||
else:
|
||||
file_decoration = "[seq]-[prompt_words]"
|
||||
file_decoration = namegen.apply(file_decoration)
|
||||
file_decoration += suffix if suffix is not None else ''
|
||||
file_decoration += suffix
|
||||
if file_decoration.startswith(basename):
|
||||
basename = ''
|
||||
filename = os.path.join(path, f"{file_decoration}.{extension}") if basename == '' else os.path.join(path, f"{basename}-{file_decoration}.{extension}")
|
||||
else:
|
||||
forced_filename += suffix if suffix is not None else ''
|
||||
forced_filename += suffix
|
||||
if forced_filename.startswith(basename):
|
||||
basename = ''
|
||||
filename = os.path.join(path, f"{forced_filename}.{extension}") if basename == '' else os.path.join(path, f"{basename}-{forced_filename}.{extension}")
|
||||
|
||||
Reference in New Issue
Block a user