mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-15 18:53:02 +02:00
Save filtered images to disk if required by the API, for e.g. when clicking 'Upscale' or 'Fix Faces on the image
This commit is contained in:
@ -852,6 +852,10 @@ function applyInlineFilter(filterName, path, filterParams, img, statusText, tool
|
||||
}
|
||||
filterReq.model_paths[filterName] = path
|
||||
|
||||
if (saveToDiskField.checked && diskPathField.value.trim() !== "") {
|
||||
filterReq.save_to_disk_path = diskPathField.value.trim()
|
||||
}
|
||||
|
||||
tools.spinnerStatus.innerText = statusText
|
||||
tools.spinner.classList.remove("displayNone")
|
||||
|
||||
|
Reference in New Issue
Block a user