42 Commits

Author SHA1 Message Date
Extraltodeus
ddf736ef93 Merge pull request #29 from SmirkingKitsune/patch-1
Filtered Prompts and Better A1111 State Intigration Update
2024-06-03 05:05:39 +02:00
Smirking Kitsune
b775eb56cf Bug fix for a Bug Fix test_my_prompt_custom_script.py
Changed the checks for `state.skippped` due to a bad interaction with `excluded_keywords` . It was possible for a user to cause a `job_no` calculation error if the `skipped` command was called when an `excluded_keyword` job should be skipped. This fixes it so that the user cannot cause a calculation error using the `skipped` command by incrementing the `excluded_jobs` count when a excluded keyword is present.
2024-05-22 00:09:39 -07:00
Smirking Kitsune
92170783c5 Bug Fix test_my_prompt_custom_script.py
Discovered a `job_no` calculation error when `excluded_keyword` was used. I think this should be resolved by keeping track of the number of times a job was skipped due to an excluded keyword and subtracting the number from the `job_no` update calculation. I think this should work because jobs that are skipped due to excluded keywords should not be counted. This bug would sometimes cause the number of jobs `job_no` to be larger than the total jobs `job_count`.
2024-05-21 23:25:16 -07:00
Smirking Kitsune
7298733ec4 Update test_my_prompt_custom_script.py
Removed a comment that questioned the functionality of a new code logic, since it was already tested and determined that it worked.
2024-05-21 17:15:31 -07:00
Smirking Kitsune
88bcbb8ae7 Filtered Prompts and Better A1111 State Intigration Update
Commit includes a feature to filter prompts from the `prompt_array` and better integration with A1111 shared state.

Filtered Prompts:
-New UI textbox that will allow users to specifically designate keywords that should not be tested.
-Textbox will use the separator for string interpretation. 
-Designed to work with the shared state `job_count` system.

Improved Shared State Integration:
-Script will communicate with the state job system, allowing loading bars to operate correctly and log steps to be calculated for overall jobs.
-Script will now obey the skip command, allowing users to skip a `job_no` (every image rendered is a `job_no`, while the overall jobs is `job_count`)
-Script will now obey the `interrupted` and `stopping_generation` commands. Allowing users to prematurely terminate the job loop.
2024-05-21 16:51:28 -07:00
Extraltodeus
97073a0935 Merge pull request #25 from triviador/main
Update test_my_prompt_custom_script.py
2023-08-21 16:55:15 +02:00
triviador
f0e7499b9e Update test_my_prompt_custom_script.py
Fix for "No module named 'fonts'"
Change max in 'Skip X first words"
2023-08-21 14:27:23 +03:00
Extraltodeus
3fc7f795dd Merge pull request #16 from Xyem/patch-1
Fix script location for use as an extension
2023-03-20 11:15:43 +01:00
Xyem
a0442cb4c1 Fix script location for use as an extension 2023-03-08 19:49:31 +00:00
Extraltodeus
3b5506eb97 Merge pull request #15 from AnonymousCervine/main
Made grid save options more comprehensive.
2023-01-07 00:11:01 +01:00
AnonymousCervine
e1be3dcbdd Fixed unfortunate placement of statement. 2023-01-05 16:14:20 -06:00
AnonymousCervine
e9d03dab18 Made grid save options more comprehensive. 2023-01-05 16:01:44 -06:00
Extraltodeus
5d08a1c711 Merge pull request #14 from Extraltodeus/revert-13-main
Revert "Respect when opts.grid_save and/or opts.samples_save are set to false."
2023-01-05 15:08:45 +01:00
Extraltodeus
092bf2ac52 Revert "Respect when opts.grid_save and/or opts.samples_save are set to false." 2023-01-05 15:08:30 +01:00
Extraltodeus
f5b454df85 Merge pull request #13 from AnonymousCervine/main
Respect when opts.grid_save and/or opts.samples_save are set to false.
2023-01-05 15:07:35 +01:00
AnonymousCervine
a8bea0a355 Respect when opts.grid_save and/or opts.samples_save are set to false. 2023-01-04 17:53:38 -06:00
Extraltodeus
bcf72cdfc8 Update README.md 2022-11-18 17:33:34 +01:00
Extraltodeus
20ea99c036 Delete dummyfiletext.txt 2022-11-18 17:32:53 +01:00
Extraltodeus
f2f6849f61 Rename test_my_prompt_custom_script.py to test_my_prompt/scripts/test_my_prompt_custom_script.py 2022-11-18 17:32:34 +01:00
Extraltodeus
9972409b3d Add files via upload 2022-11-18 17:30:39 +01:00
Extraltodeus
735d87a4fa Merge pull request #10 from WildBanjos/main
Fix: Fixed only one generated image showing in output
2022-11-18 16:08:48 +01:00
WildBanjos
14a17a3665 Cleaned up unused variable 2022-11-18 00:38:21 -06:00
WildBanjos
ecb682a459 Fixed only first image loading
Fixed issue where only first image loads.
2022-11-18 00:35:17 -06:00
Extraltodeus
249ab67fc0 Update README.md 2022-11-08 15:02:16 +01:00
Extraltodeus
6d3ebf83b2 typo 2022-11-08 00:24:47 +01:00
Extraltodeus
642dcd8cf1 Update README.md 2022-11-07 23:39:11 +01:00
Extraltodeus
73e498788d Merge pull request #1 from Extraltodeus/always_grid
Always grid
2022-11-07 23:38:12 +01:00
Extraltodeus
e682807da0 Update test_my_prompt_custom_script.py 2022-11-07 23:31:14 +01:00
Extraltodeus
4c0561e4a9 Update test_my_prompt_custom_script.py 2022-11-07 23:25:39 +01:00
Extraltodeus
969d896187 Update test_my_prompt_custom_script.py 2022-11-07 23:16:16 +01:00
Extraltodeus
e3d243721b Update README.md 2022-11-07 19:47:08 +01:00
Extraltodeus
cd7b1a5238 Update README.md 2022-11-07 18:33:40 +01:00
Extraltodeus
5ce741a780 Update README.md 2022-11-07 17:02:07 +01:00
Extraltodeus
9ec09ea023 Update README.md 2022-11-07 16:44:11 +01:00
Extraltodeus
510c41224c Update README.md 2022-11-07 16:41:03 +01:00
Extraltodeus
a9cafe4fc7 Create README.md 2022-11-07 16:26:23 +01:00
Extraltodeus
0ca4f927b1 Update test_my_prompt_custom_script.py 2022-11-07 15:45:07 +01:00
Extraltodeus
e513b0084f Update test_my_prompt_custom_script.py 2022-11-07 13:54:31 +01:00
Extraltodeus
246877b51c Update and rename test_my_prompt.py to test_my_prompt_custom_script.py 2022-11-06 22:19:11 +01:00
Extraltodeus
b2643498e8 Rename test_my_prompt_script.py to test_my_prompt.py 2022-11-06 22:12:48 +01:00
Extraltodeus
dfcce656cd Update test_my_prompt_script.py 2022-11-06 22:10:53 +01:00
Extraltodeus
2b6d4e22b6 Add files via upload 2022-11-06 22:08:59 +01:00