Commit Graph

77 Commits (2cca805b2aa6befd35b01c444006c79fbe3163f1)

Author SHA1 Message Date
cxDosx d480b1f188 support RGB to BGR in api 2023-04-11 16:37:02 +08: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
Michael 8a03b2a082 use a better name in the function 2023-03-15 10:01:46 -07:00
mishafarms 57a1cfb65d Merge remote-tracking branch 'origin/main' into api_preprocessors
# Conflicts:
#	scripts/controlnet.py
#	scripts/external_code.py
2023-03-15 07:25:03 -07: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 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 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 73922d57fa deprecation message 2023-03-13 04:16:04 -04:00
ljleb d2258de440 restore initial value 2023-03-13 04:05:57 -04:00
ljleb fe37cb2f6f txt2img fix 2023-03-13 04:00:48 -04:00
ljleb f6186bc2f9 move globals to global_state file 2023-03-13 03:07:41 -04:00
ljleb 545715c37e use correct function 2023-03-12 23:30:04 -04:00
ljleb 53806d4a5e fix obvious bugs 2023-03-12 23:28:42 -04:00
ljleb 8d8342c6d1 use kwargs 2023-03-06 00:54:01 -05:00
ljleb 2b748a8104 feedback 2023-03-05 23:11:27 -05:00
ljleb a6dfc39115 feedback 2023-03-05 23:00:03 -05:00
ljleb 228f12d917 merge main 2023-03-05 14:37:11 -05:00
kft334 ac8007cce2
Fix detect endpoint 2023-03-05 12:17:47 -05:00
Yoshitada Kurozumi b49d3375ca Add binary preprocessor 2023-03-06 01:09:34 +09:00
ljleb 9108199a22 allow int for resize_mode in api requests 2023-03-04 10:28:37 -05:00
ljleb 7f63b8cc15 merge main 2023-03-04 10:03:03 -05:00
ljleb 57ed434ee4 static script cache 2023-03-04 09:43:47 -05:00
ljleb 7d4f274ecc use external_code 2023-03-04 09:25:18 -05:00
ljleb 525e19133f refact 2023-03-04 08:36:33 -05:00
ljleb 09a403de79 basic external code api 2023-03-03 20:12:55 -05:00
ljleb 44a92862a6 dont use existing deprecated field in api 2023-03-02 21:52:25 -05:00
Mikubill 3a1c5b9f3c fix: add missing line (#415) 2023-02-27 19:57:39 +00:00
ljleb 937a7016fc fix: extend grayscale mask 2023-02-27 14:44:46 -05:00
ljleb 38a11aac39 fix no input image in cn unit 2023-02-27 10:22:47 -05:00
Mikubill 511e254c48 fix: backward compatibility 2023-02-27 08:00:24 +00:00
Ashen a3f1ab8aaf 🔀 resolve conflict w.r.t. latest changes to api.py
Merge branch 'main' into feature/guidance-start

# Conflicts:
#	scripts/api.py
2023-02-26 23:33:35 -08:00
Kakigōri Maker 1159888286
fix: minor fix for deprecated_defaults 2023-02-27 16:09:06 +09:00
ljleb 2ba29fb14d refact 2023-02-26 23:35:24 -05:00
ljleb 335a094475 make selectable script work 2023-02-26 22:57:23 -05:00
ljleb 48f0480d95 warning 2023-02-26 22:10:09 -05:00
ljleb 2b378db229 remove limit in case we want batch size 2023-02-26 21:37:59 -05:00
ljleb 2547d9d514 found the bug 2023-02-26 21:12:02 -05:00
ljleb 65c66ebee6 return pil 2023-02-26 20:42:18 -05:00
ljleb 38347c020b refact 2023-02-26 20:33:15 -05:00
ljleb a08d817c02 replace img2img route, refactor 2023-02-26 18:55:28 -05:00
ljleb 8c9bbb4410 refact 2023-02-26 17:45:42 -05:00