mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 08:13:22 +01:00
fix filename_format for 'show only upscaled'
https://discord.com/channels/1014774730907209781/1093703857516843019
This commit is contained in:
parent
c115a9aa3d
commit
c438cd47b9
@ -1,6 +1,5 @@
|
||||
import os
|
||||
import time
|
||||
import base64
|
||||
import re
|
||||
|
||||
from easydiffusion import app
|
||||
@ -137,7 +136,13 @@ def save_images_to_disk(images: list, filtered_images: list, req: GenerateImageR
|
||||
file_format=task_data.output_format,
|
||||
)
|
||||
else:
|
||||
make_filter_filename = make_filename_callback(req, task_data, file_number, now=now, suffix="filtered")
|
||||
make_filter_filename = make_filename_callback(
|
||||
app_config.get("filename_format", "$p_$tsb64"),
|
||||
req,
|
||||
task_data,
|
||||
file_number,
|
||||
now=now,
|
||||
suffix="filtered")
|
||||
|
||||
save_images(
|
||||
images,
|
||||
|
Loading…
Reference in New Issue
Block a user