Commit Graph

110 Commits (c8043ae2e20fe098aac1eafeecbdbe05d9d7bdd9)

Author SHA1 Message Date
Abdullah Alfaraj 974e593b73
fetch control_net_max_models_num settings from the api (#1402) 2023-05-24 18:19:21 -07:00
huchenlei ca3252598b 🔧 Add cmd args to set cache size 2023-05-21 14:12:36 -04:00
unknown 79ef6172b0 add get_modules_detail in externalcode 2023-05-06 23:49:11 +08:00
unknown 71f6df02a2 add module_detail in /controlnet/module_list containing sliders config and reuse code with controlnet.build_sliders 2023-05-06 06:23:50 +08:00
ljleb 11d33e1815
Remove deprecated api (#1154)
* remove deprecated api

* version

* api version
2023-05-05 12:05:33 -04:00
ramyma 5d387abf19
fix: Raise 500 exception instead of returning an error on `detect` API call (#863)
fix: Raise 422 exception instead of returning an error on `detect` API call
2023-05-03 22:03:32 -04:00
ljleb 8800dd003b add alias names to external code api as well 2023-04-25 20:31:44 -04:00
ljleb 5afda4143f request param is alias_names 2023-04-25 20:20:03 -04:00
ljleb eb3e60672a add api module alias 2023-04-25 20:10:22 -04:00
lvmin 1404f946dd see if pass test, 3rd attempt 2023-04-19 23:59:34 -07:00
lvmin ff4c8ada75 fix api 2023-04-19 23:35:41 -07:00
lvmin c07a140cdd use text consistent to a1111 resizing 2023-04-18 00:56:21 -07:00
ljleb 14f3661648
forward web api to external_code api (#850) 2023-04-18 00:57:15 -04:00
lvmin 86873af29e fix tests 2023-04-17 17:22:14 -07:00
Joseph Catrambone 385b67c2e3 Merge upstream changes and resolve merge conflicts. 2023-04-17 09:35:49 -07:00
kft334 c955472be1
Update detect endpoint 2023-04-17 01:11:02 -04:00
lvmin c8d7c78660 fix api 2023-04-16 19:41:44 -07:00
lllyasviel bee146aa10
Merge branch 'main' into lvmin 2023-04-16 17:20:56 -07:00
lvmin e6d3a326c4 add tile and xdog 2023-04-16 17:18:12 -07:00
lllyasviel e900a87aaa
Merge pull request #803 from Mikubill/lvmin
restore default to inner fit
2023-04-16 01:15:00 -07:00
lvmin 786531a647 restore default to inner fit 2023-04-16 01:13:19 -07:00
lllyasviel a9e11f7d01
Merge pull request #786 from Mikubill/lvmin
low vram vs shuffle
2023-04-15 20:08:22 -07:00
lvmin 7a1eacc92e low vram vs shuffle 2023-04-15 20:07:32 -07:00
lllyasviel 33608671ca
Merge pull request #782 from Mikubill/lvmin
typo
2023-04-15 18:10:23 -07:00
lvmin 5bb5460588 typo 2023-04-15 18:10:00 -07:00
kft334 dfe4e0e322
Update detect endpoint
Updated to be consistent with the webui preprocessor naming.

Typo note: t2ia_color_gird should be changed to t2ia_color_grid in the list of webui preprocessors.
2023-04-15 20:51:34 -04:00
kft334 edf7cd0a42
Update api.py 2023-04-15 17:22:42 -04:00
kft334 76d413c586
Update detect endpoint 2023-04-15 16:52:32 -04:00
cxDosx d480b1f188 support RGB to BGR in api 2023-04-11 16:37:02 +08:00
Joseph Catrambone 50a4865525 Forgot to connect UI components. 2023-03-31 11:42:41 -07:00
Joseph Catrambone eeb27da545 Missed a few references. Renaming. 2023-03-31 10:49:31 -07:00
Joseph Catrambone 3cd07a6ee8 Rename mediapipe_laion_face to mediapipe_face. 2023-03-31 10:48:17 -07:00
Joseph Catrambone 869602ffb0 Correctly return image. Perform a copy of detected_map because of 'ValueError: At least one stride in the given numpy array is negative'. Will have to ask why this happens. 2023-03-31 10:02:58 -07:00
Joseph Catrambone 78833dce35 Add MediaPipe Face conditioning as a step. 2023-03-30 16:30:41 -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
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