Commit Graph

56 Commits (2b44ac8d6b3f022bf67f3d00a5a446caf9d73228)

Author SHA1 Message Date
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
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
lllyasviel 943197e1be
fix gradio problem (#1948)
* fix gradio problem

* fix gradio problem
2023-08-22 03:30:37 -07:00
lllyasviel 36b3cfb097
smart preview management, remove preview as inputs (#1944)
* smart preview management, remove preview as inputs

* smart preview management, remove preview as inputs
2023-08-22 01:27:18 -07:00
lvmin 1d4e58ffce fix some other gradio problem in a1111 1.6.x 2023-08-22 00:50:27 -07:00
lvmin 5561b6c945 fix silly gradio problem in a1111 1.6.x 2023-08-22 00:35:46 -07:00
Chenlei Hu c542a8fd60
fix mask (#1914) 2023-08-13 14:12:44 -04:00
GF 256a53ad7d
disable run preprocessor if no cn input image (#1887)
* disable run preprocessor if no cn input image

* 🚧 Move detection logic to active_units.js

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-08-07 17:30:52 -04:00
Abdullah Alfaraj b4cdd10283
[API]: expose the filter functionality to api (#1667)
* [API]: expose the filter functionality to the api

* add basic unit_test for the filter api endpoint

* rename filter_list to filter

* 🚧 Return all filters throught API call

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-07-17 23:38:50 -04:00
Chenlei Hu 6bcc4762d3
🐛 Fix output of run_annotator (#1666) 2023-06-21 20:26:08 -04:00
Chenlei Hu 1f66e9c614
🎨 Make active unit's tab name green (#1577)
* 🎨 Make active unit's tab name green

* 🎨 Use brighter green in dark mode
2023-06-06 20:13:15 -04:00
lllyasviel 93ed6c9d4c
enable seeing masked area in inpaint mask visualization (#1553) 2023-06-04 14:28:47 -07:00
Chenlei Hu 5b681b071b
New feature: integrated openpose editor (#1454)
🎨 nits

🎨 Load alert screen when no editor is detected.

🔧 add option to hide edit button

🐛 Resolve conflicts during rebase

🚧 Set use preview as input after edit

🐛 Fix merge conflict
2023-06-04 15:54:35 -04:00