241a1fdb57
feat(mm): support sdxl ckpt inpainting models
...
There are only a couple SDXL inpainting models, and my tests indicate they are not as good as SD1.5 inpainting, but at least we support them now.
- Add the config file. This matches what is used in A1111. The only difference from the non-inpainting SDXL config is the number of in-channels.
- Update the legacy config maps to use this config file.
2024-04-28 12:57:27 +10:00
d72f272f16
Address change requests in first round of PR reviews.
...
Pending:
- Move model install calls into model manager and create passthrus in invocation_context.
- Consider splitting load_model_from_url() into a call to get the path and a call to load the path.
2024-04-24 23:53:30 -04:00
398f37c0ed
tidy(backend): clean up controlnet_utils
...
- Use the our adaptation of the HWC3 function with better types
- Extraction some of the util functions, name them better, add comments
- Improve type annotations
- Remove unreachable codepaths
2024-04-25 13:20:09 +10:00
6b0bf59682
feat(backend): update nms util to make blur/thresholding optional
2024-04-25 13:20:09 +10:00
5b8f77f990
tidy(nodes): move cnet mode literals to utils
...
Now they can be used in type signatures without circular imports.
2024-04-25 13:20:09 +10:00
3207822738
Update invokeai_version.py
2024-04-25 12:31:59 +10:00
8d86fabf4b
chore(ui): lint
2024-04-24 20:09:52 +10:00
af3e910ad3
fix(ui): fix layer arrangement
2024-04-24 20:09:52 +10:00
af25d00964
tidy(ui): use const for brush spacing
2024-04-24 20:09:52 +10:00
d4a30d08ef
feat(ui): create new line when mouse held down, leaves canvas and comes back over
2024-04-24 20:09:52 +10:00
bd8a33e824
tidy(ui): clean up renderer functions
...
- Split logic to create layers/objects from the updating logic
- Organize and comment functions
2024-04-24 20:09:52 +10:00
b425646b7b
chore(ui): lint
2024-04-24 20:09:52 +10:00
293e11cfa6
feat(ui): hide add prompt buttons when user has a prompt
2024-04-24 20:09:52 +10:00
c73aabdfbf
feat(ui): regional control defaults to having a positive prompt
2024-04-24 20:09:52 +10:00
ca989c54b0
fix(ui): restore OG aspect ratio preview for non-t2i tabs
2024-04-24 20:09:52 +10:00
260e24733f
fix: update SDXL IP Adpater starter model to be ViT-H
2024-04-24 00:08:21 -04:00
6b394554e2
fix: update ip adapter starter models path
2024-04-24 08:48:25 +05:30
ae1955a1a8
feat(ui): update canvas graphs to provide unet
2024-04-23 07:32:53 -04:00
1bef13db37
feat(nodes): restore unet check on CreateGradientMaskInvocation
...
Special handling for inpainting models
2024-04-23 07:32:53 -04:00
a461537087
chore: ruff
2024-04-23 07:32:53 -04:00
99e28da19b
feat(ui): add variant to model edit
...
Also simplify the layouting for all model view/edit components.
2024-04-23 07:32:53 -04:00
42a159beaa
chore(ui): typegen
2024-04-23 07:32:53 -04:00
0aa5aadfe8
fix(mm): move variant
to MainConfigBase
...
shoulda been here all along
2024-04-23 07:32:53 -04:00
bbf919a933
chore: frontend check error
2024-04-23 07:32:53 -04:00
01897ec576
remove extra inputs
2024-04-23 07:32:53 -04:00
bc12d6654e
chore: comments and ruff
2024-04-23 07:32:53 -04:00
6d7c8d5f57
remove unet test
2024-04-23 07:32:53 -04:00
38604aa408
update canvas graphs
2024-04-23 07:32:53 -04:00
781de914f4
fix threshhold
2024-04-23 07:32:53 -04:00
c094bad233
add unet check in gradient mask node
2024-04-23 07:32:53 -04:00
0063014f2b
gradient mask node test for inpaint
2024-04-23 07:32:53 -04:00
2cee436ecf
tidy(app): remove unused class
2024-04-23 17:12:14 +10:00
e6386d969f
fix(app): only clear tempdirs if ephemeral and before creating tempdir
...
Also, this needs to happen in init, else it deletes the temp dir created in init
2024-04-23 17:12:14 +10:00
4b2b983646
tidy(api): reverted unnecessary changes in dependencies.py
2024-04-23 17:12:14 +10:00
53808149fb
moved cleanup routine into object_serializer_disk.py
2024-04-23 17:12:14 +10:00
21ba55d0a6
add an initialization function that removes dangling tmpdirs from outputs/tensors
2024-04-23 17:12:14 +10:00
28c28b2fc0
fix: 🐛 handle trigger phrase form submits
2024-04-23 16:42:40 +10:00
8b9c4c62a6
chore: v4.2.0a2
2024-04-23 13:08:26 +10:00
cf637ecaa6
fix(ui): disabled ip adapters applied to regional control
2024-04-23 13:08:26 +10:00
fca718bdd3
tidy(ui): remove extraneous cursor sync
2024-04-23 12:11:47 +10:00
5196a2efec
fix(ui): minor canvas overflow
2024-04-23 12:11:47 +10:00
385e93443a
feat(ui): rp hotkeys
...
- Shift+C: Reset selected layer mask (same as canvas)
- Shift+D: Delete selected layer (cannot be Del, that deletes an image in gallery)
- Shift+A: Add layer (cannot be Ctrl+Shift+N, that opens a new window)
- Ctrl/Cmd+Wheel: Brush size (same as canvas)
2024-04-23 12:11:47 +10:00
604217313a
chore(ui): lint
2024-04-23 12:11:47 +10:00
229423b370
tidy(ui): memo aspectratiopreview
2024-04-23 12:11:47 +10:00
75a548e3eb
perf(ui): debounce render wait = 300ms
2024-04-23 12:11:47 +10:00
24dbb65ebb
perf(ui): add brush spacing
...
Only add point to line if the next point is 10 or more px from the last point
2024-04-23 12:11:47 +10:00
c915220965
feat(ui): aspect ratio preview is regional prompts canvas
2024-04-23 12:11:47 +10:00
bb37e25ed0
feat(ui): rp ui layout
2024-04-23 12:11:47 +10:00
dda1111f20
Make it alpha
2024-04-22 10:54:21 -04:00
9d71b91b7f
chore: v4.2.0b1
2024-04-22 10:54:21 -04:00