Commit Graph

614 Commits (0c8d8d9b2cdbe2b9ebd233a0b9fa865b2e749537)

Author SHA1 Message Date
Chenlei Hu fc3b521581
🐛 Fix ControlLoRA (#2559) 2024-01-23 11:22:13 -05:00
Chenlei Hu 7fb40bf803
🔧 Explicit error on ipadapter invalid preprocessor/model pair (#2551)
* 🔧 Explicit error on ipadapter invalid preprocessor/model pair

* nit
2024-01-22 19:34:47 -05:00
Chenlei Hu 25e41dc63b
Real multi-inputs ControlNet unit (#2539)
* real multi-inputs

* add tests

* nit

* 🐛 Fix negative prompt issue
2024-01-22 02:27:37 -05:00
Chenlei Hu 0712f42bf3
🚚 Move statements (#2538) 2024-01-21 22:13:18 -05:00
Chenlei Hu 57794c0817
🚚 Move control_mode (#2537) 2024-01-21 21:56:34 -05:00
Chenlei Hu 41e11028a3
🚚 Integrate model type detection into model detection (#2536)
* 🚚 Integrate model type detection into model detection

* Remove unused imports

* nit
2024-01-21 21:28:57 -05:00
Chenlei Hu ee821e8edf
🚚 Move dim calc (#2535)
* 🚚 Move dim calc

* nit
2024-01-21 20:56:51 -05:00
Chenlei Hu a79661e0db
🚚 Move inpaint crop logic as a function (#2534)
* Add tests

* 🔨 Extract crop logic
2024-01-21 19:00:28 -05:00
Chenlei Hu 81b5dde69a
🎨 Multi-Inputs more user friendly UI (#2533)
* format

* 🎨 multi-inputs UI refresh

* nit
2024-01-21 18:17:59 -05:00
Chenlei Hu dbd997138a
Support multi-inputs (#2525)
* wip

*  Add multi-input support

* 🐛 Fix API issue
2024-01-20 22:59:56 -05:00
Chenlei Hu 1b7ae7dbec
🐛 Fix callback issue on ui reload (#2512) 2024-01-20 00:14:39 -05:00
Chenlei Hu b146963c1b
Update model dropdown choices when sd checkpoint change (#2509)
* wip

* 🔨 Large refactoring

* nit
2024-01-19 21:24:31 -05:00
Chenlei Hu 0a8e71af58
🔧 Add option to run CLIP preprocessor on CPU (#2495) 2024-01-18 20:30:12 -05:00
Chenlei Hu ba05e1ea20
🔧 Loosen is_compatible SD version check (#2490) 2024-01-17 10:25:41 -05:00
Chenlei Hu 8870e35682
🐛 Fix outpaint 2 (#2485)
* 🐛 Fix outpaint

* 🐛 Fix lama outpaint
2024-01-16 12:36:04 -05:00
Chenlei Hu 7c8a0091b4
🐛 Fix outpaint (#2483) 2024-01-16 08:21:08 -05:00
Chenlei Hu e7b5b60812
🐛 Fix inpaint mask dim (#2477) 2024-01-15 09:57:58 -05:00
Chenlei Hu c05321387c
🐛 Uncache ip-adapter models (#2470) 2024-01-14 23:33:38 -05:00
Chenlei Hu af9c3cdb9c
🔨 Refactor choose_input_image logic (#2468)
*  Add inpaint full cov tests

* More tests

* 🔨 Refactor choose input image logic

*  Update unittest expectation

* nits
2024-01-14 18:58:39 -05:00
Chenlei Hu 1d03353d9c
🔨 Change if to assert on mask invariants (#2466) 2024-01-13 23:52:50 -05:00
w-e-w 9d1f0a07fa
alternative photopea popup warning (#2417)
* alternative photopea popup warning

* rename variables
2024-01-06 09:18:29 -05:00
Chenlei Hu d47536ff27
🔧 Add option to disable photopea quick edit (#2385) 2024-01-01 20:36:03 -05:00
Chenlei Hu 7aaf263208
Add hr_option (Both, High res only, Low res only) (#2379)
*  Add hr_option

🎨 Only show when relevant

 Add unit test

* 🐛 fix per-unit
2024-01-01 00:06:55 -05:00
Chenlei Hu 0c0eb6b317
Control inpaint crop per ControlNet unit (#2377)
*  Control inpaint crop per ControlNet unit

* nits
2023-12-31 18:27:20 -05:00
Chenlei Hu cd0d5870f4
🔊 Add tracemalloc to track memory usage (#2373) 2023-12-30 23:31:58 -05:00
Chenlei Hu 218f075023
🐛 Raise error when using revision on non-SDXL models (#2372) 2023-12-30 21:07:14 -05:00
Chenlei Hu a23dbfc0b1
Quick edit of preprocessor result with photopea (#2346)
* ui

* display modal

* add fetch from controlnet feature

* fix pasting issue

* name layers

* Add send to controlnet button

* 🎨 Fix button styles

* 🔨 refactor

* wip

* 🚧 correctly write output

* 🚧 auto fetch and auto close

* 🚧 create black background of given size
2023-12-30 17:54:42 -05:00
Chenlei Hu 11019f4820
Support advanced_weighting in API (#2368)
*  Support advanced_weighting in API

* 📝 add note

* 🐛 nits

* 📝 Add examples
2023-12-30 17:35:52 -05:00
Chenlei Hu 50ddf1da96
🎨 Hide loopback checkbox in non-batch config (#2366)
* 🎨 Hide loopback checkbox in non-batch tab

* 🐛 Fix hide logic
2023-12-29 16:20:55 -05:00
Chenlei Hu dc0d590faf
🔧 Add option to bypass input image crop (#2365) 2023-12-28 15:29:06 -05:00
Chenlei Hu 27c78e3fec
🐛 Set default model/module to string values (#2335) 2023-12-15 21:54:16 -05:00
lllyasviel 96dbc601a6
fix model unload (#2301)
fix model unload
2023-12-06 21:07:37 -08:00
lllyasviel a6edc5d97b
allow not using any unit (#2300) 2023-12-06 20:48:41 -08:00
lllyasviel 47dfefa54f
StyleAlign (#2294)
StyleAlign
2023-12-06 06:49:05 -08:00
Chenlei Hu 0efcf8c993
🐛 Handle None controlnet model in version check (#2272) 2023-11-19 23:51:39 -05:00
Chenlei Hu ff5188edb5
🔥 Remove gradio version check (#2271) 2023-11-19 22:56:45 -05:00
Chenlei Hu e2e6a1b494
🔊 Meaningful error message for sd version conflict (#2268)
* 🚚 Move enums

* 🔊 Meaningful error message for sd version conflict
2023-11-19 21:49:14 -05:00
Chenlei Hu eac4f4b28e
🔥 Remove disable_control_type option (#2266)
* 🔥 Remove disable_control_type option

* 🔥 remove type_filter check

* assert not none
2023-11-19 15:35:17 -05:00
Chenlei Hu 457da74dc7
Add new API option send_detected_map (#2251) 2023-11-11 19:06:06 -05:00
MitPitt 150d6f140d
increase possible model cache size (#2186)
no reason not to have this
2023-10-23 13:56:12 -04:00
Chenlei Hu 7a4805c8ea
Fix debug loglevel (#2139) 2023-09-22 14:13:48 -04:00
lllyasviel 56d575e8dd
fix tiled vae (#2074) 2023-09-06 12:24:48 -07:00
lllyasviel 7c20c5d748
fix tiled vae (#2073)
* fix tiled vae

* fix tiled vae
2023-09-06 12:18:02 -07:00
lllyasviel 1976cb2837
fix log (#2063) 2023-09-05 19:14:19 -07:00
lllyasviel 2dae96e538
revision fix (#2055)
* revision image blending

* revision fix
2023-09-05 10:33:33 -07:00
lllyasviel 876667f4d6
fix refiner (#2042) 2023-09-04 14:59:19 -07:00
lllyasviel 1d5402326d
sdxl support (for SAI/HuggingFace/diffuser/community models) (#1952)
sdxl support (for SAI/HuggingFace/diffuser/community models)
1.1.400
2023-09-04 10:41:42 -07:00
catboxanon cde4619c5d
Repair ControlNet infotext parsing (#1833)
* Repair infotext parsing

🚧 Listen png info buttons

WIP

New infotext format

nits

nits

nits

rebase

refactor active unit counts

* nits

* nit

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-08-23 22:27:34 -04:00
lllyasviel 7140c7f9a9
simplify img2img ui (#1956)
* fix gradio problem

* fix gradio problem

* simplify img2img ui

* simplify img2img ui
2023-08-23 18:15:17 -07:00
catboxanon 729926fdd1
Fix mask blur (#1907)
* Fix mask blur

* Prioritize mask_blur_x over mask_blur

* Update mask blur sigma values
2023-08-13 14:17:43 -04:00