Commit Graph

992 Commits (d5137f063ebd1d31384957a8d3bea61ba5940fff)

Author SHA1 Message Date
Chenlei Hu d5137f063e
Add reset preset button (#1986)
* Add reset preset button

* fix processor param compare

* fix reset button vis after reset

* nits
2023-08-25 22:29:29 -04:00
Chenlei Hu bbabb39c6a
🐛 Fix preset application (#1985) 2023-08-25 12:24:03 -04:00
Chenlei Hu 18bbe35e63
Update control type in preset (#1980) 2023-08-25 00:50:43 -04:00
Chenlei Hu cc2cfc0fb7
v1.1.312 (#1978) 2023-08-24 23:32:00 -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
Chenlei Hu 24bb7c572f
No blocking generation on infotext failure (#1968) 2023-08-24 09:11:03 -04:00
lllyasviel e2b3fbd2ee
integrated canvas zoom (#1961)
* shorter message

* fix preview as input for img2img indepent img

* integrated canvas zoom

* Update controlnet_version.py
2023-08-23 22:31:17 -07:00
Chenlei Hu 24dcdbb4d4
v1.1.310 (#1959) 2023-08-23 22:28:47 -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 e62411ddf1 fix some other gradio problem in a1111 1.6.x 2023-08-22 00:51:13 -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
lvmin bdc426581c remove annoying i2i preview 2023-08-22 00:25:23 -07:00
lvmin 80a5bb992e fix cond cache problem for a1111 1.6.x 2023-08-22 00:11:51 -07:00
lvmin 87cf850c74 I am back 2023-08-21 23:46:02 -07:00
Chenlei Hu 47465817ef
📝 v1.1.238 (#1916) 2023-08-13 18:28:32 -04: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
Chenlei Hu c542a8fd60
fix mask (#1914) 2023-08-13 14:12:44 -04:00
Chenlei Hu 50b5436bb3
🐛 Fix normalization issue (#1913) 2023-08-13 14:08:19 -04:00
Chenlei Hu 4fa9190436
Reland Reland "Port DW Pose preprocessor" (#1892)
* Port DW Pose preprocessor (#1856)

*  Add dependencies

* 🚧 wip

* 🚧 wip

* 🚧 download models

* 🚧 Minor fixes

* 🔧 update gitignore

* 🐛 Fix normalization issue

* 🚧 load DW model only when DW preprocessor is selected

*  Change test config

* 🎨 nits

* 🐛 Fix A1111 safe torch issue

📝 v1.1.235 (#1859)

Revert "Port DW Pose preprocessor (#1856)" (#1860)

This reverts commit 0d3310f599.

Reland "Port DW Pose preprocessor" (#1861)

* Revert "Revert "Port DW Pose preprocessor (#1856)" (#1860)"

This reverts commit 17e100e1fe.

* 🐛 Fix install.py

📝 v1.1.236 (#1862)

🐛 Delay import of mmpose (#1866)

📝 v1.1.237 (#1868)

🐛 Fix all keypoints invalid issue (#1871)

🐛 lazy import

🚧 update test expectation

🚧 Switch to onnx

🚧 solve onnx package issue

🔧 Check cuda in more efficient way

🎨 Format code

🔧 Make onnx runtime optional

* Use cv2 to load and run model on cpu

* nit
2023-08-09 00:21:18 -04:00
Chenlei Hu 4fd548b4d2
Revert "Reland dw pose onnx (#1890)" (#1891)
This reverts commit e141d33be9.
2023-08-07 17:50:12 -04:00
Chenlei Hu e141d33be9
Reland dw pose onnx (#1890)
* Port DW Pose preprocessor (#1856)

*  Add dependencies

* 🚧 wip

* 🚧 wip

* 🚧 download models

* 🚧 Minor fixes

* 🔧 update gitignore

* 🐛 Fix normalization issue

* 🚧 load DW model only when DW preprocessor is selected

*  Change test config

* 🎨 nits

* 🐛 Fix A1111 safe torch issue

📝 v1.1.235 (#1859)

Revert "Port DW Pose preprocessor (#1856)" (#1860)

This reverts commit 0d3310f599.

Reland "Port DW Pose preprocessor" (#1861)

* Revert "Revert "Port DW Pose preprocessor (#1856)" (#1860)"

This reverts commit 17e100e1fe.

* 🐛 Fix install.py

📝 v1.1.236 (#1862)

🐛 Delay import of mmpose (#1866)

📝 v1.1.237 (#1868)

🐛 Fix all keypoints invalid issue (#1871)

🐛 lazy import

* 🚧 update test expectation

* 🚧 Switch to onnx

* 🚧 solve onnx package issue

* 🔧 Check cuda in more efficient way

* 🎨 Format code
2023-08-07 17:35:37 -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
lvmin 20d25bb546 Revert "Port DW Pose preprocessor (#1856)"
This reverts commit 0d3310f599.
2023-08-05 02:58:03 -07:00
Chenlei Hu 56c376a177
🐛 lazy import (#1874) 2023-08-05 00:30:05 -04:00
Chenlei Hu b06ece5eb1
📝 v1.1.237 (#1868) 2023-08-04 19:12:57 -04:00
Chenlei Hu 397f54ba31
📝 v1.1.236 (#1862) 2023-08-04 16:04:09 -04:00
Chenlei Hu 8f44b22ee5
Reland "Port DW Pose preprocessor" (#1861)
* Revert "Revert "Port DW Pose preprocessor (#1856)" (#1860)"

This reverts commit 17e100e1fe.

* 🐛 Fix install.py
2023-08-04 16:04:02 -04:00
Chenlei Hu 17e100e1fe
Revert "Port DW Pose preprocessor (#1856)" (#1860)
This reverts commit 0d3310f599.
2023-08-04 15:13:51 -04:00
Chenlei Hu 668b8affd0
📝 v1.1.235 (#1859) 2023-08-04 15:03:07 -04:00
Chenlei Hu 0d3310f599
Port DW Pose preprocessor (#1856)
*  Add dependencies

* 🚧 wip

* 🚧 wip

* 🚧 download models

* 🚧 Minor fixes

* 🔧 update gitignore

* 🐛 Fix normalization issue

* 🚧 load DW model only when DW preprocessor is selected

*  Change test config

* 🎨 nits

* 🐛 Fix A1111 safe torch issue
2023-08-04 15:02:58 -04:00
Chenlei Hu 5ae9b4a1a0
📝 v1.1.234 (#1845) 2023-07-28 10:28:41 -04:00
catboxanon 424022c735
Disable ControlNet if model is SDXL (#1835) 2023-07-28 10:26:21 -04:00
catboxanon efda6ddfd8
Add setting to disable CN in highres (#1832) 2023-07-26 11:59:47 -04:00
Leon ff7aad9a70
update model_list to allow to set whether to update model (#1828)
* update model_list to allow to set whether to update model

* update model_list to allow to set whether to update model
2023-07-26 08:43:53 -04:00
ljleb e9679f8fc5
dont assume images is tensor (#1817)
Co-authored-by: ljleb <set>
2023-07-23 14:15:05 -04:00
catboxanon 8063252cf5
feat: Controllable inpainting Gaussian blur sigma value (#1813) 2023-07-21 15:32:01 -04:00
Chenlei Hu 2ecec13274
📝 v1.1.233 (#1797) 2023-07-17 23:39:49 -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 07bed6ccf8
📝 v1.1.232 (#1779) 2023-07-08 16:54:01 -04:00
ljleb 6ed97a7da2
Remove `importlib.reload`s (#1775)
* move external_code.py for python module caching

* remove importlib reload

* add test

* rename

---------

Co-authored-by: ljleb <set>
2023-07-08 16:52:16 -04:00
Chenlei Hu dd766de862
📝 v1.1.231 (#1770) 2023-07-05 18:09:16 -04:00
Chenlei Hu 334e4b4e07
📝 v1.1.230 (#1764) 2023-07-04 22:25:52 -04:00