You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is caused by an extension, but I believe it is caused by a bug in the webui
The issue exists in the current version of the webui
The issue has not been reported before recently
The issue has been reported before but has not been fixed yet
What happened?
In "Extras"/"Batch Process" tab I process few images. After first run they are processed in gallery. But in further runs (with changed post processing options) they aren't shown in gallery, it shows output from first generation
After exploring 1.7.0 patch, I found it because forced_filename: modules/postprocessing.py:82
The files are overridden in output directory by the last generation. And it seems they are not overriden in a kind of cache in gradio. And it shows old files
And I want to say I do not prefer this behavior by default. I would want to save all my files with number in filenames, even if I want to save original filename. Maybe you should add another option for force filenames:
if opts.use_original_name_batch and name is not None:
basename = os.path.splitext(os.path.basename(name))[0]
- forced_filename = basename + suffix+ if not opts.use_original_name_batch_do_not_override:+ forced_filename = basename + suffix
Or use use_original_name_batch option only for "batch from dir" tab
The text was updated successfully, but these errors were encountered:
Checklist
What happened?
In "Extras"/"Batch Process" tab I process few images. After first run they are processed in gallery. But in further runs (with changed post processing options) they aren't shown in gallery, it shows output from first generation
After exploring 1.7.0 patch, I found it because
forced_filename
:modules/postprocessing.py:82
The files are overridden in output directory by the last generation. And it seems they are not overriden in a kind of cache in gradio. And it shows old files
And I want to say I do not prefer this behavior by default. I would want to save all my files with number in filenames, even if I want to save original filename. Maybe you should add another option for force filenames:
Or use
use_original_name_batch
option only for "batch from dir" tabThe text was updated successfully, but these errors were encountered: