Commit Graph

102 Commits (58f620c921030eea0f3528d68849f7e052d44e3f)

Author SHA1 Message Date
Chenlei Hu 44e0875956
Fix linter issues under script (#2667) 2024-02-28 23:58:34 -05: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 faa0d055a8
🐛 Allow functionally equiv stale units (#1695)
* 🐛 Allow functionally equiv stale units

* 🔇 demote stale warning to debug level

* 🐛 Update keys check

*  Add unittests
2023-06-23 17:16:38 -04:00
Chenlei Hu c36b5a0d6a
🔇 demote pixel perfect calculation logs (#1694) 2023-06-23 15:54:44 -04:00
Chenlei Hu 311d67bcd2
[Reland] Add type check on script args (#1687)
* Add typecheck on script args (#1678)

* Add typecheck on script args

* Allow dict param

* reload module

* 📝 more detailed comment
2023-06-23 11:03:51 -04:00
lllyasviel 00a7d84a19 Revert "Add typecheck on script args (#1678)"
This reverts commit 4a4867214a.
2023-06-23 07:03:11 -07:00
Chenlei Hu 4a4867214a
Add typecheck on script args (#1678)
* Add typecheck on script args

* Allow dict param
2023-06-22 22:27:43 -04:00
lllyasviel 7ad8cc8e65
fix api (#1565) 2023-06-05 16:24:06 -07:00
lllyasviel 93ed6c9d4c
enable seeing masked area in inpaint mask visualization (#1553) 2023-06-04 14:28:47 -07:00
Chenlei Hu d3b64fbdd5
Reland logs; debug (#1540)
fallback
2023-06-04 13:55:45 -04:00
Chenlei Hu b0a7dc8864
Revert "Logging migration (#1537)" (#1538)
This reverts commit f7eeb481ea.
2023-06-03 19:13:16 -04:00
Chenlei Hu f7eeb481ea
Logging migration (#1537)
* 🔊 Use logger to replace print in scripts

* 🐛 Fix double handler issue
2023-06-03 18:14:56 -04:00
Chenlei Hu 3994ffbe4d
🐛 Handle unrecogznied resize mode value (#1536) 2023-06-03 16:47:06 -04:00
lllyasviel 84e92d0d0e
Update external_code.py (#1524) 2023-06-02 15:51:58 -07:00
Chenlei Hu d99905418c
🔨 Extract pixel perfect calculation (#1522) 2023-06-02 18:28:44 -04:00
Chenlei Hu b3a0dad462
🔨 Add int_value on ResizeMode (#1519) 2023-06-02 17:11:07 -04:00
Abdullah Alfaraj 974e593b73
fetch control_net_max_models_num settings from the api (#1402) 2023-05-24 18:19:21 -07:00
僵尸浩 cae8894767
add 'model_free' in module_detail (#1370) 2023-05-20 21:24:22 -07:00
lvmin 35b5eefc33 fix 2023-05-06 11:27:27 -07:00
lvmin d3f588ff38 fix 2023-05-06 11:25:27 -07:00
unknown 79ef6172b0 add get_modules_detail in externalcode 2023-05-06 23:49:11 +08:00
ljleb 001bc70b81
`"guessmode"` alias for warning (#1161)
* alias for warning

* version
2023-05-05 14:27:01 -04:00
lllyasviel 6a8c471640
Merge branch 'main' into lvmin 2023-05-05 10:37:02 -07:00
lvmin 9d38d2630d remove deprecated guess mode 2023-05-05 10:33:31 -07:00
lvmin 1caa2b5379 remove deprecated guess mode 2023-05-05 09:32:58 -07:00
ljleb aa3d3f23d6 rm PARAM_COUNT 2023-05-05 12:31:27 -04:00
ljleb 31c52c8244 remove flat args 2023-05-05 12:28:26 -04:00
ljleb 11d33e1815
Remove deprecated api (#1154)
* remove deprecated api

* version

* api version
2023-05-05 12:05:33 -04:00
lvmin e7c264bf50 try fix github test 2023-04-26 20:51:46 -07:00
ljleb c5fbfc31d0
typo (#1041)
* typo

* version
2023-04-25 20:38:14 -04:00
ljleb 8800dd003b add alias names to external code api as well 2023-04-25 20:31:44 -04:00
ljleb d99306f3d0
convert control mode (#1038)
* and not or

* v

* convert control mode

* no alias for control mode

* add conversion for previous guess mode
2023-04-25 19:41:22 -04:00
ljleb 0342759629
ignore extra args from api and fix param count (#1013)
* fix api

* automatic param count

* add new control param in tests

* add new control param in tests
2023-04-24 01:08:43 -04:00
lllyasviel 289cd03914
Merge pull request #1010 from Mikubill/control-mode
Control mode
2023-04-23 21:17:20 -07:00
ljleb 1618dfda21
fix none (#1009) 2023-04-23 23:15:06 -04:00
ljleb f408b2326b
Revert "Fixed issue where Nontype causes a crash (#1006)" (#1008)
This reverts commit f051ff3f99.
2023-04-23 23:11:42 -04:00
jmsether f051ff3f99
Fixed issue where Nontype causes a crash (#1006) 2023-04-23 22:43:21 -04:00
lvmin c1d164fb08 init control mode 2023-04-23 19:40:36 -07:00
ljleb 07ef8a750a
Multi-ControlNet Batch (#683)
* add back preprocessor

* reload imports for people that update without restarting webui

* remeove img2img tab tracker (replaced by batch hijack)

* batch hijack script

* update gradio ui

* new options (used by batch hijack)

* demeter violation

* clear detected_map

* bug fixes, boys scout and whitespace

* demeter (tests)

* batch tests

* fix alwayson script args in api tests

* extract cn unit image type

* update instead of buggy set

* update readme

* carousel -> gallerie output

* fix index in unit batch iterator

* fix hook unregistering all callbacks

* dont modify hook

* fix non-cn batch

* fix responsiveness

* dont need queue here

* state no change

* readme

* name

* fix ui, bump version

* loopback less important

* interrupt batch if no input image

* keep batch mode in sync

* typo
2023-04-23 16:35:31 -04:00
lvmin 7a7f44c99f fix 2023-04-20 02:42:44 -07:00
lvmin b382654ed7 see if pass test 2023-04-19 23:37:44 -07:00
lvmin 31f461c354 init pixel perfect branch 2023-04-19 23:26:14 -07:00
lvmin 7e5c153b86 more aliases 2023-04-18 09:10:42 -07:00
ljleb 20a5310bc8
resize mode aliases (#894) 2023-04-18 07:29:17 -04:00
lvmin c07a140cdd use text consistent to a1111 resizing 2023-04-18 00:56:21 -07:00
lvmin 7f1ae2cf0e fix test 2023-04-17 18:05:59 -07:00
lvmin 1a18328a95 fix tests and revise high-res fix 2023-04-17 17:52:37 -07:00
lvmin 42158b1b43 major update - ControlNet 1.1 GUI 2023-04-17 16:53:20 -07:00
lvmin 786531a647 restore default to inner fit 2023-04-16 01:13:19 -07:00
lvmin 7a1eacc92e low vram vs shuffle 2023-04-15 20:07:32 -07:00