From 7fefe3a3c25ae75768ce8e1bbfa56d73a2a3399b Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Mon, 29 Jan 2024 16:28:47 +0100 Subject: [PATCH] feat: add created_by again --- modules/async_worker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/async_worker.py b/modules/async_worker.py index 539c58fd..6de720dd 100644 --- a/modules/async_worker.py +++ b/modules/async_worker.py @@ -809,6 +809,9 @@ def worker(): d.append((f'LoRA {li + 1} Weight', f'lora_weight_{li + 1}', w, False, False)) d.append((f'LoRA {li + 1} Hash', f'lora_hash_{li + 1}', lora_hashes[li], False, False)) d.append(('Version', 'version', 'v' + fooocus_version.version, True, True)) + if modules.config.metadata_created_by != '': + d.append(('Created By', 'created_by', modules.config.metadata_created_by, False, False)) + log(x, d, save_metadata_to_images, metadata_scheme) yield_result(async_task, imgs, do_not_show_finished_images=len(tasks) == 1)