mirror of
https://github.com/Extraltodeus/test_my_prompt.git
synced 2026-11-05 00:17:26 +00:00
[PR #13] [MERGED] Respect when opts.grid_save and/or opts.samples_save are set to false. #25
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Extraltodeus/test_my_prompt#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Extraltodeus/test_my_prompt/pull/13
Author: @AnonymousCervine
Created: 1/5/2023
Status: ✅ Merged
Merged: 1/5/2023
Merged by: @Extraltodeus
Base:
main← Head:main📝 Commits (1)
a8bea0aRespect when opts.grid_save and/or opts.samples_save are set to false.📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
test_my_prompt/scripts/test_my_prompt_custom_script.py(+3 -2)📄 Description
Currently, the script totally disregards the flags
opts.samples_saveandopts.grid_save("Always save all generated images" and "Always save all generated image grids" in global settings respectively)(Well—"totally disregards" is not quite correct for the latter: It currently effectively treats
opts.grid_saveas an alternative to the scripts ownalways_grid; either can be set to produce a grid. In which cases it saves the grid anyway, even ifopts.grid_saveis false. This does not seem like intended behaviour.)After this fix, the expected behavior should now be:
opts.samples_saveis true.opts.grid_saveoralways_gridare true (as before), but are only saved ifopts.grid_saveis true.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.