mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-02-18 13:44:16 +01:00
Image: Add TGW as a prefix to output images
This commit is contained in:
parent
afa29b9554
commit
b63d57158d
|
|
@ -142,7 +142,7 @@ def save_generated_images(images, state, actual_seed):
|
|||
|
||||
for idx, img in enumerate(images):
|
||||
timestamp = datetime.now().strftime("%H-%M-%S")
|
||||
filename = f"{timestamp}_{actual_seed:010d}_{idx:03d}.png"
|
||||
filename = f"TGW_{timestamp}_{actual_seed:010d}_{idx:03d}.png"
|
||||
filepath = os.path.join(folder_path, filename)
|
||||
|
||||
# Create PNG metadata
|
||||
|
|
|
|||
Loading…
Reference in a new issue