Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-07-21 11:15:15 -04:00
parent b75d49d467
commit 23a4e6f97f
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -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
View File
@@ -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}")