mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-23 07:29:18 -08:00
In batch mode run_extras tries to preserve the original file name of the images. The problem is that this makes no sense since the user only gets a list of images in the UI, trying to manually save them shows that this images have random temp names. Also, trying to keep "orig_name" in the API is a hassle that adds complexity to the consuming UI since the client has to use (or emulate) an input (type=file) element in a form. Using the normal file name not only doesn't change the output and functionality in the original UI but also helps keep the API simple.
10 KiB
10 KiB