Commit Graph

68 Commits (44e08759563e6eb1cec15025ac6a1075621cb555)

Author SHA1 Message Date
Chenlei Hu 44e0875956
Fix linter issues under script (#2667) 2024-02-28 23:58:34 -05:00
h3rmit 679b62790b
Compatibility fix for WebUI < v1.6.0 (#2649) 2024-02-18 21:52:46 -05:00
Chenlei Hu 0ee0281178
🐛 Fix model refresh (#2607) 2024-01-30 21:22:49 -05:00
Chenlei Hu 235aa04001
🐛 Disable checkpoint callback for SDNext (#2597) 2024-01-28 17:52:03 -05:00
Chenlei Hu 232e6407b6
Revert "🐛 Disable checkpoint callback for SDNext" (#2596) 2024-01-28 16:43:04 -05:00
Chenlei Hu 11e4bef97e
🐛 Disable checkpoint callback for SDNext (#2595) 2024-01-28 15:15:40 -05:00
Chenlei Hu a67d0404cc
🐛 Fix txt2img send dimensions (#2591) 2024-01-27 22:04:57 -05:00
Chenlei Hu 9473a777c7
Instant ID (#2580)
* instant id

* Add extra control type enum

* wip

* wip

* Fix all obvious issues

* Fix insightface model issue

* append keypoints images

* ui

* Fix res

* Remove model2

* separate unit control

* Fix context issue

* insightface model download
2024-01-27 17:29:07 -05:00
Chenlei Hu 82450fbf2d
🐛 Fix multi-inputs weight (#2584) 2024-01-25 13:28:25 -05:00
Chenlei Hu 14ab5e4ff6
Revert " Real multi-inputs unit" (#2583) 2024-01-25 08:52:10 -05:00
Chenlei Hu 6a1d882e89
Real multi-inputs unit (#2578)
* Add adapter tests

* real multi inputs
2024-01-24 20:19:11 -05:00
Chenlei Hu d139d8c88d
🐛 Fix ip-adapter (#2569) 2024-01-23 18:54:35 -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 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 881165e938
🐛 Only update model when necessary (#2521) 2024-01-20 20:09:41 -05:00
Chenlei Hu fb93201501
🐛 backward compatible for A1111 1.6.0 (#2518) 2024-01-20 17:02:55 -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 4729f8eb07
Allow mask upload (#2464) 2024-01-12 22:49:51 -05:00
Chenlei Hu a52e607b0f
🐛 Fix hr_option display sync (#2440) 2024-01-09 21:09:30 -05:00
Chenlei Hu 9b2feb396f
🐛 Fix gradio timing issue (#2416) 2024-01-05 16:14:43 -05:00
Chenlei Hu c714019b8a
🔧 Fix crop input image checkbox visibility (#2404) 2024-01-04 11:02:36 -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 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 7a199fe4a2
Add JSON pose file upload button (#2274)
* 🚧 Backend work

* 🚧 render pose

* 🚧 various fixes

* 🎨 Update readme image
2023-11-20 21:58:39 -05:00
Chenlei Hu ff5188edb5
🔥 Remove gradio version check (#2271) 2023-11-19 22:56:45 -05:00
Chenlei Hu 45eb903538
Filter cn model by sd version active (#2267) 2023-11-19 17:49:46 -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
catboxanon 3b1fd43221
Migrate tooltips to Gradio (#1993) 2023-11-04 22:32:18 -04:00
missionfloyd df0788b819
Don't show progress for UI actions (#2163) 2023-10-14 22:07:21 -04: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
Chenlei Hu 664ac74cae
Relands #2033 (#2038)
* 🎨 re-format api.py

* Add pose json to api response

* Simplify response format

* fix
2023-09-04 09:06:46 -04:00
lllyasviel 7bdcb9079a Revert "Add openpose json to API response (#2033)"
This reverts commit e2cd3b91a8.
2023-09-04 05:38:19 -07:00
Chenlei Hu e2cd3b91a8
Add openpose json to API response (#2033)
* 🎨 re-format api.py

* Add pose json to api response

* Simplify response format
2023-09-03 17:33:05 -04:00
lllyasviel c3b32f2543
fix gradio (#2013) 2023-08-31 02:22:10 -07:00
Chenlei Hu 510bd66e3a
Add reset button for preset (#1999)
* Add reset preset button

* fix processor param compare

* fix reset button vis after reset

* nits

* Do not attach listener on image component

* WIP

* faster load

* nits
2023-08-27 19:02:56 -04:00
Chenlei Hu 18bbe35e63
Update control type in preset (#1980) 2023-08-25 00:50:43 -04:00
Chenlei Hu 6dc7b4f14d
[New Feature] ControlNet unit preset management (#1974)
* WIP preset

* basic func done

* Add refresh button

* fix active units

* fix hint issue
2023-08-24 23:30:22 -04:00
w-e-w b875b847a4
Fix zoom and mask brush color customizable (#1970)
* make mask brush color customizable

* make zoom work with single CN module

* webui < 1.6 compatibility

* explicitly checks for applyZoomAndPan

* Update canvas.js

* Update canvas.js

---------

Co-authored-by: lllyasviel <lyuminzhang@outlook.com>
2023-08-24 14:37:59 -07:00
Chenlei Hu de868abdf2
Copy gr.update dict (#1969) 2023-08-24 11:02:19 -04: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 eeec9d8d6d
fix preview as input for img2img indepent img (#1958)
* shorter message

* fix preview as input for img2img indepent img
2023-08-23 18:47:08 -07:00
lllyasviel a0ba36bba5
shorter message (#1957) 2023-08-23 18:39:54 -07:00