Commit Graph

43 Commits

Author SHA1 Message Date
cantor-set 3bae73e23e
feat: add support for lora inline prompt references (#2323)
* Adding support to inline prompt references

* Added unittests

* Added an initial documentation for development guidelines

* Added a negative number

* renamed parameter

* removed wrongly committed file

* Code fixes

* Fixed circular reference

* Fixed typo. Added TODO

* Fixed merge

* Code cleanup

* Added missing refernce function

* Removed function from util.py... again...

* Update modules/async_worker.py

Implemented suggested change

Co-authored-by: Manuel Schmid <9307310+mashb1t@users.noreply.github.com>

* Removed another circular reference

* Renamed module

* Addressed PR comments

* Added return type to function

* refactor: move apply_wildcards to module util

* refactor: code cleanup, unify usage of tuples in lora list

* docs: add instructions for running unittests on embedded python, code cleanup

* refactor: code cleanup, move makedirs_with_log back to util

---------

Co-authored-by: cantor-set <cantor-set@no-email.net>
Co-authored-by: Manuel Schmid <9307310+mashb1t@users.noreply.github.com>
Co-authored-by: Manuel Schmid <dev@mash1t.de>
2024-05-18 17:19:46 +02:00
Manuel Schmid f54364fe4e
feat: add random style checkbox to styles selection (#2855)
* feat: add random style

* feat: rename random to random style, add translation

* feat: add preview image for random style
2024-05-09 19:02:04 +02:00
xhoxye ead24c9361
feat: read wildcards in order 通配符增强,切换顺序读取。(#1761)
* 通配符增强,切换顺序读取

通配符增强,通过勾选切换通配符读取方法,默认不勾选为随机读取一行,勾选后为按顺序读取,并使用相同的种子。

* 代码来自刁璐璐

* update

* Update async_worker.py

* refactor: rename read_wildcard_in_order_checkbox to read_wildcard_in_order

* fix: use correct method call for interrupt_current_processing

actually achieves the same result, stopping the task

* refactor: move checkbox to developer debug mode, rename to plural

below disable seed increment

* refactor: code cleanup, separate code for disable_seed_increment

* i18n: add translation for checkbox text

---------

Co-authored-by: Manuel Schmid <manuel.schmid@odt.net>
2024-03-10 23:18:36 +01:00
Cruxial f6117180d4
feat: scan wildcard subdirectories (#2466)
* Fix typo

* Scan wildcards recursively

Adds a method for getting the top-most occurrence of a given file in a directory tree

* Use already existing method for locating files

* Fix issue with incorrect files being loaded

When using the `name-filter` parameter in `get_model_filenames`, it doesn't guarantee the best match to be in the first index. This change adds a step to ensure the correct wildcard is being loaded.

* feat: make path for wildcards configurable, cache filenames on refresh files, rename button variable

* Fix formatting

---------

Co-authored-by: Manuel Schmid <manuel.schmid@odt.net>
2024-03-10 21:35:41 +01:00
Manuel Schmid 9155d94067
feat: match anything in array syntax, not only words and whitespace (#2438)
allows e.g. [[ (red:1.1), (blue:1.2) ]] and enables same seed checks for different prompt weight
2024-03-04 11:22:24 +01:00
Brian Flannery c898e6a4dc
feat: add array support on main prompt (#1503)
* prompt array support

* update change log

* update change log

* docs: remove 2.1.847 change log

* refactor: rename freeze_seed to disable_seed_increment, move to developer debug mode

* feat: add translation for new labels

* fix: use task_rng based on task_seed, not initial seed

---------

Co-authored-by: Manuel Schmid <manuel.schmid@odt.net>
2024-02-25 22:22:49 +01:00
lllyasviel f308489440
Add Marc K3nt3L's styles
Thanks Marc K3nt3L !
2023-12-18 19:01:52 -08:00
lllyasviel 4fe08161a5 2.1.782
2.1.782
2023-11-11 01:43:01 -08:00
lllyasviel 175f3e3040 update backend + revise styles
update backend + revise styles
2023-10-26 08:24:45 -07:00
lllyasviel 60cb91c406 allow ar config 2023-10-23 19:42:23 -07:00
MoonRide303 02282ab57a Corrected handling dash in wildcard names, more wildcards (extended-color) 2023-10-20 15:56:09 +02:00
lllyasviel 849dafb95b fix 2023-10-20 05:20:42 -07:00
lllyasviel ff8d649cac bfs for wildcard 2023-10-20 05:05:29 -07:00
MoonRide303 6d76c55964 Added information about wildcards usage in console log 2023-10-20 09:28:23 +02:00
lllyasviel 1374481b59 ling 2023-10-17 23:23:38 -07:00
MoonRide303 4dc3bd8b67 Improved wildcards implementation (using same wildcard multiple times will now return different values) 2023-10-18 08:12:52 +02:00
lllyasviel 5e3728c839 put user styles on top + wild card seed 2023-10-17 01:42:51 -07:00
lllyasviel 9ec2f66fbe ling 2023-10-17 00:37:02 -07:00
lllyasviel e3ac360396 ling 2023-10-17 00:10:32 -07:00
lllyasviel ef4e120d0a ling 2023-10-16 23:57:58 -07:00
MoonRide303 eb72b16da0 Added support for wildcards 2023-10-17 07:54:04 +02:00
lllyasviel 64163cf174 change style order
mre styles seem more useful
2023-10-16 21:31:11 -07:00
MoonRide303 635b6fc1bc Added support for loading custom styles from JSON files 2023-10-16 18:54:47 +02:00
lllyasviel f010dc6994
preset system (beta)
preset system
2023-10-13 17:37:49 -07:00
lvmin 63820ff362 config 2023-10-13 05:28:42 -07:00
lvmin a252f75549 log 2023-10-13 05:02:20 -07:00
lllyasviel f92b8038b4
add config (#619)
* add config

* add config

* add config

* add config

* add config

* add config

* add config

* add config
2023-10-10 00:23:39 -07:00
lllyasviel d631cfe491
minor (#582) 2023-10-08 15:11:46 -07:00
lllyasviel bbae307ef2
2.0.80 (#520)
* Rework many patches and some UI details.
* Speed up processing.
* Move Colab to independent branch.
* Implemented CFG Scale and TSNR correction when CFG is bigger than 10.
* Implemented Developer Mode with more options to debug.
2023-10-03 10:36:42 -07:00
lllyasviel 47876aaf99
[Major Update] Fooocus 2.0.0 (#346)
[Major Update] Fooocus 2.0.0 (#346)
2023-09-11 23:10:45 -07:00
lvmin 0f658a97f7 prompt expansion v2 2023-09-11 02:48:36 -07:00
lvmin d50714b261 suffix mode 2023-09-10 17:48:03 -07:00
lvmin c4125c3b6b tune style and prompt balance 2023-09-10 12:45:54 -07:00
lvmin 75b8718ed4 speed up 2023-09-10 00:35:25 -07:00
lllyasviel 496766edd7
Fooocus Prompt Expansion (#329)
* add vae approx download

* files

* files

* files

* i

* i

* i

* i

* i

* i

* i

* i

* i

* i
2023-09-09 17:22:32 -07:00
lllyasviel 67f00ac391
add styles (#269)
* add styles

* Update sdxl_styles.py
2023-08-26 02:23:01 -07:00
lvmin dd3c62012e revert to 1.0.36 2023-08-19 20:11:22 -07:00
lvmin 9c97310d92 cinematic-default v2 2023-08-19 13:01:45 -07:00
lllyasviel 158afe088d
1.0.19 (#33)
Unlock to allow changing model.
2023-08-12 17:43:39 -07:00
lvmin 80ce0abf9a i 2023-08-10 20:51:53 -07:00
lvmin a08a7f254c i 2023-08-10 18:12:18 -07:00
lvmin e984bc08ab i 2023-08-10 17:18:49 -07:00
lvmin b88eaed5ba i 2023-08-10 12:23:35 -07:00