Commit Graph

101 Commits (24dcdbb4d4ebc8f5a770a756be8a1b6e5b4e5e82)

Author SHA1 Message Date
Michael efa3e31630 Updated to put the dictionaries in global_state.py 2023-03-17 23:05:42 -07:00
Michael cd2f25529c Added a method to get the list of preprocessors 2023-03-17 16:26:59 -07:00
ljleb b8d236cc09
Revert "add back preprocessor in api" 2023-03-17 05:15:07 -04:00
ljleb 34ff08d2fe add back preprocessor 2023-03-17 03:55:17 -04:00
ljleb 296c791d27
Revert "Added a new API call to get the preprocessor list" 2023-03-17 03:48:07 -04:00
ljleb 1681ae4eae
Merge pull request #601 from mishafarms/api_preprocessors
Added  a new API call to get the preprocessor list
2023-03-17 03:37:02 -04:00
ljleb fd3e58a852 move dict directly to global_state 2023-03-17 03:29:29 -04:00
ljleb 2aa9c048cf fix: ignore kwargs 2023-03-17 02:03:54 -04:00
ljleb 426014e633
fix: #602 (#605) 2023-03-15 15:44:07 -04:00
Michael 3f28601896 Updated to use global_state 2023-03-15 09:56:04 -07:00
Kakigōri Maker a3c424f5dc
Merge branch 'main' into api_preprocessors 2023-03-15 22:25:44 +09:00
ljleb e1fe7421c9 merge main 2023-03-15 01:51:52 -04:00
Michael cb46a182df Added a new API call to get the preprocessor list 2023-03-14 22:28:17 -07:00
ljleb fd753f22a1 workaround for is_img2img and is_ui 2023-03-14 22:06:05 -04:00
ljleb 2db7eee81e test image dict getter 2023-03-14 20:46:16 -04:00
ljleb e0d94846f4 add test for mask property 2023-03-14 19:51:39 -04:00
ljleb 1d44dd7984 refactor and diff main 2023-03-14 18:57:19 -04:00
ljleb 40934b81b9 more tests 2023-03-14 18:28:31 -04:00
ljleb 3c273363df revert relative imports 2023-03-13 20:19:19 -04:00
ljleb 88919de14b workaround for torch check 2023-03-13 20:10:21 -04:00
ljleb 571e4c9413 remove is_img2img from args, fix 2023-03-13 16:49:37 -04:00
ljleb ed51ee5099 fix xyz support imports 2023-03-13 15:13:53 -04:00
ljleb a9f9613f1a add back changes 2023-03-13 14:48:05 -04:00
Kakigōri Maker 094c79bbb0
Revert "Deprecate `/controlnet/*2img` web API in favor of new alwayson_scripts support" 2023-03-14 02:05:29 +09:00
ljleb f6186bc2f9 move globals to global_state file 2023-03-13 03:07:41 -04:00
ljleb 53806d4a5e fix obvious bugs 2023-03-12 23:28:42 -04:00
ljleb 2419fc95d4 draft 2023-03-07 16:51:15 -05:00
ljleb 080d605130 add get_all_units_in_processing 2023-03-06 00:28:49 -05:00
ljleb 7ba2813600 fix args diff 2023-03-06 00:16:31 -05:00
ljleb e4d3205435 dont update if script args not a list of script args 2023-03-06 00:07:58 -05:00
ljleb d3046c2f46 document ResizeMode 2023-03-05 23:55:05 -05:00
ljleb 3c0f00de64 document ResizeMode 2023-03-05 23:54:37 -05:00
ljleb b9825ec52c fix bug 2023-03-05 23:22:58 -05:00
ljleb 3866561da0 docstring 2023-03-05 23:21:44 -05:00
ljleb 839ba111e5 docstring 2023-03-05 23:20:22 -05:00
ljleb 2b748a8104 feedback 2023-03-05 23:11:27 -05:00
ljleb 91888ab6c8 feedback 2023-03-05 23:03:05 -05:00
ljleb a6dfc39115 feedback 2023-03-05 23:00:03 -05:00
ljleb 1e7453a532 feedback 2023-03-05 22:55:39 -05:00
ljleb 9508427af0 remove inner f 2023-03-05 14:38:08 -05:00
ljleb 85948a3264 do nothing when cn script not in always-on scripts 2023-03-04 14:52:22 -05:00
ljleb 8ef69b1fa8 invert condition 2023-03-04 13:28:05 -05:00
ljleb f8d4bac587 preserve is_ui and is_img2img when not specified 2023-03-04 13:20:05 -05:00
ljleb 2c9b11fbf0 comma 2023-03-04 11:03:47 -05:00
ljleb feea98d15b allow int for resize_mode in external_code 2023-03-04 10:51:24 -05:00
ljleb 9108199a22 allow int for resize_mode in api requests 2023-03-04 10:28:37 -05:00
ljleb 6d1dbf3ee9 use right function name 2023-03-04 09:53:49 -05:00
ljleb 7d4f274ecc use external_code 2023-03-04 09:25:18 -05:00
ljleb e93e286af8 docstrings 2023-03-04 09:16:00 -05:00
ljleb cb0382daf6 refact 2023-03-04 08:33:06 -05:00
ljleb 09a403de79 basic external code api 2023-03-03 20:12:55 -05:00