Commit Graph

642 Commits (main)

Author SHA1 Message Date
Adi Eyal 7cfa182d80
Minor code refactor (#333)
See - https://github.com/adieyal/sd-dynamic-prompts/pull/332#pullrequestreview-1357817222
2023-03-25 15:24:24 +02:00
Adi Eyal 849736093e
Merge pull request #332 from adieyal/bug/extra-newlines-in-wildcards
Fixed bug causing unwanted newlines in wildcards
2023-03-25 13:57:27 +03:00
Adi Eyal a5f52d4903 Fixed bug causing unwanted newlines in wildcards
See https://github.com/adieyal/sd-dynamic-prompts/issues/270.

According to the [docs](https://docs.python.org/3/library/os.html#os.linesep), os.linesep should not be used when writing in text mode
2023-03-25 12:52:54 +02:00
Adi Eyal 61f39a49c2
Merge pull request #330 from adieyal/feature/magicprompts-batches
Batch processing of Magic Prompts
2023-03-25 12:17:54 +02:00
Adi Eyal 695244808a Batch processing of Magic Prompts
Upgraded dynamicprompts to 0.10.3 and added the ability to set the Magic
Prompts batch size
2023-03-25 11:39:53 +02:00
Adi Eyal 67f6d392d7 Bumped version to 2.8.5 2023-03-24 21:55:18 +02:00
space-nuko 3defc17fb9 Fix infinite recursion in Gradio 3.22.1 2023-03-19 23:39:38 -04:00
Adi Eyal 1596f556e2 Fixes #277 2023-03-06 06:49:07 +02:00
Adi Eyal 22d5c038f4 Added a setting to limit jinja prompts generated 2023-03-06 06:16:16 +02:00
Adi Eyal b4feb0f496 Custom wildcard wrap
Added the ability to customise the wildcard wrap (prefix and suffix), see Settings -> Dynamic Prompts
2023-03-03 22:18:34 +02:00
Adi Eyal 32d729f1b2 Merge branch 'feature/custom-wildcard-wrap' 2023-03-03 21:57:53 +02:00
Adi Eyal 8775d43080 Allow wildcard prefix and suffix to be configured 2023-03-03 21:56:57 +02:00
Adi Eyal ce09c0ee65 Fixed division by zero error when not using negative prompts 2023-03-03 21:34:13 +02:00
Adi Eyal 5f96d8f1c5 Merge branch 'main' of github.com:adieyal/sd-dynamic-prompting 2023-03-03 14:53:39 +02:00
Adi Eyal 5d38ef9f06 Upgraded to dynamicprompts v0.10.0 see CHANGELOG for details 2023-03-03 14:53:19 +02:00
Adi Eyal b09f4b7c3a
Update README.md
Added resources section
2023-02-27 12:12:27 +02:00
Adi Eyal c72c2656b2
Merge pull request #276 from adieyal/bug/fixed-seed-causes-error
Fixes #271
2023-02-26 15:05:41 +02:00
Adi Eyal 7cfbe0ecae Fixes #271
Extracted get seeds to helpers.py
Ensured that seeds are always integers
Fixed subseed implementation
2023-02-26 15:03:38 +02:00
Adi Eyal 9a38f02ea6
Merge pull request #260 from akx/show-lib-version
Show dynamicprompts library version in help text
2023-02-16 21:39:54 +02:00
Aarni Koskela efd6f42b5c Show dynamicprompts library version in help text 2023-02-16 19:00:00 +02:00
Adi Eyal dd38cb5bc5 Moved check for duplicate callbacks
Previously it was preventing the initialisation of the Wildcard Manager
2023-02-13 23:23:17 +02:00
Adi Eyal 2c610d813c Bumped version to v2.7.2 2023-02-13 22:55:21 +02:00
Adi Eyal 55d23cf9b3 Fixed error caused by Reload UI
The wildcards tab disappeared after Reload UI due to Auto1111 loading
the script twice.
2023-02-13 22:49:42 +02:00
Adi Eyal 3835480b3c Merge branch 'main' of github.com:adieyal/sd-dynamic-prompting 2023-02-13 14:36:13 +02:00
Adi Eyal 18b5a3800d Fixed #255 2023-02-13 14:35:07 +02:00
Adi Eyal b78d2e68f6
Merge pull request #253 from adieyal/feature/configurable-braces
Upgraded to dynamicprompts v0.7.0
2023-02-11 12:46:22 +02:00
Adi Eyal fc8d8c9b1f Updated README with config info 2023-02-11 12:32:27 +02:00
Adi Eyal 31c2f20296 Renamed braces to variant start and end 2023-02-11 12:25:56 +02:00
Adi Eyal 1bb882c614 Upgraded to dynamicprompts v0.7.0
Variant braces are now configurable through settings to accommodate for
incompatibilities between extensions
2023-02-10 13:26:47 +02:00
Adi Eyal 00ff399537 Fixes #250 Type error 2023-02-10 06:51:44 +02:00
Adi Eyal ed79951ee4 Merge branch 'main' of github.com:adieyal/sd-dynamic-prompting 2023-02-09 19:19:40 +02:00
Adi Eyal b211b0feeb Fixed bug affecting correct parsing of pnginfo
Caused send to img2txt to break
2023-02-09 19:18:24 +02:00
Adi Eyal 6d202671bb
Merge pull request #248 from jgrunik/patch-2
Prevent Uncaught TypeError repeating onTick
2023-02-09 09:34:35 +02:00
Adi Eyal 9e33c6831f Bumped version to 2.6.1 2023-02-09 09:30:58 +02:00
Adi Eyal 518349cf06 Merge branch 'main' into bug/copypaste-parameters 2023-02-09 09:27:33 +02:00
jgrunik 260ad902f2
Prevent Uncaught TypeError repeating onTick
Handles msg being undefined
2023-02-08 12:07:54 +11:00
Adi Eyal 536cf634b5 Upgraded to dynamicprompts v0.6.0
See the changelog for details
2023-02-06 21:44:26 +02:00
Adi Eyal bdedd420ba Fixes #243 2023-02-06 00:39:06 +02:00
Adi Eyal e646340014
Merge pull request #242 from akx/manga-g
Remove stray g characters from manga artists
2023-02-06 00:31:45 +02:00
Aarni Koskela 24ace968e2 Sort manga.txt 2023-02-05 16:47:49 +02:00
Aarni Koskela 87105e350b Remove stray g characters from manga artists 2023-02-05 16:46:25 +02:00
Adi Eyal 90a9120ed8 Ensure that _pnginfo_saver is created in __init__ 2023-01-31 19:52:10 +02:00
Adi Eyal 49eaa7997e Grammar fixes 2023-01-30 00:02:48 +02:00
Adi Eyal bc0eab2e6b bumped version to 2.5.5
Prompts csv filname is now set to the name of the first image saved.
2023-01-29 22:14:25 +02:00
Adi Eyal c0672532ee Merge branch 'main' into chore/set-prompts-filename 2023-01-29 22:13:17 +02:00
Adi Eyal 2e1e02950d Bumped to 2.5.4 - enables zero repititions 2023-01-29 20:37:23 +02:00
Adi Eyal 868bb36737 Updated names for consistency 2023-01-29 20:25:31 +02:00
Adi Eyal 3c330072e2 Code review updates 2023-01-29 20:17:43 +02:00
Adi Eyal 6fb503fd93 Added missing annotations 2023-01-29 19:06:33 +02:00
Adi Eyal 163f31fdc4 Removed ununsed instance variable 2023-01-29 18:50:18 +02:00