mickr777
00ca9b027a
Update CurrentImageNode.tsx
2023-08-28 19:15:53 +10:00
mickr777
e81e17ccb6
Merge branch 'main' into nextprevcurrentimagenode
2023-08-28 18:05:33 +10:00
Kent Keirsey
b9731cb434
Merge branch 'main' into Seamless
2023-08-28 00:12:23 -04:00
Kent Keirsey
1f476692da
Seamless fixes
2023-08-28 00:10:46 -04:00
Kent Keirsey
5fdd25501b
updates per stalkers comments
2023-08-27 22:54:53 -04:00
Sergey Borisov
b65c9ad612
Add monkeypatch for xformers to align unaligned attention_mask
2023-08-28 04:50:58 +03:00
StAlKeR7779
ef3bf2803f
Merge branch 'main' into feat_compel_and
2023-08-28 04:11:35 +03:00
StAlKeR7779
3e6c49001c
Change antialias to True as input - image
...
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2023-08-28 02:54:39 +03:00
Kent Keirsey
19e0f360e7
Fix vae fields
2023-08-27 15:05:10 -04:00
Kent Keirsey
ea40a7844a
add VAE
2023-08-27 14:53:57 -04:00
Kent Keirsey
0d2e194213
Fixed dict error
2023-08-27 14:21:56 -04:00
Kent Keirsey
c6d00387a7
Revert old latent changes, update seamless
2023-08-27 14:15:37 -04:00
Kent Keirsey
3de45af734
updates
2023-08-27 14:13:00 -04:00
Sergey Borisov
526c7e7737
Provide antialias argument as behaviour will be changed in future(deprecation warning)
2023-08-27 20:04:55 +03:00
Sergey Borisov
1811b54727
Provide metadata to image creation call
2023-08-27 20:03:53 +03:00
Kent Keirsey
95883c2efd
Add Initial (non-working) Seamless Implementation
2023-08-27 12:29:11 -04:00
mickr777
38851ae19a
Merge branch 'main' into nextprevcurrentimagenode
2023-08-27 19:50:39 +10:00
blessedcoolant
71c3955530
feat: Add Scale Before Processing To Canvas Txt2Img / Img2Img (w/ SDXL)
2023-08-27 08:26:23 +12:00
blessedcoolant
3f8d17d6b7
chore: Black linting
2023-08-27 06:17:08 +12:00
blessedcoolant
b18695df6f
fix: Update color of denoise mask socket
...
The previous red look too much like the error color.
2023-08-27 06:16:13 +12:00
blessedcoolant
249048aae7
fix: Reorder DenoiseMask socket fields
2023-08-27 06:14:35 +12:00
blessedcoolant
521da555d6
feat: Update color of Denoise Mask socket
2023-08-27 06:09:02 +12:00
blessedcoolant
c923d094c6
rename: Inpaint Mask to Denoise Mask
2023-08-27 05:50:13 +12:00
blessedcoolant
226721ce51
feat: Setup UnifiedCanvas to work with new InpaintMaskField
2023-08-27 03:50:29 +12:00
blessedcoolant
af3e316cee
chore: Regen schema
2023-08-27 03:12:03 +12:00
blessedcoolant
382a55afd3
fix: merge conflicts
2023-08-27 03:07:42 +12:00
blessedcoolant
e9633a3adb
Merge branch 'main' into fix/inpaint_gen
2023-08-27 02:54:19 +12:00
Kent Keirsey
9c13f1b0fd
Merge branch 'main' into feat/dev_reload
2023-08-25 17:06:58 -04:00
Lincoln Stein
0bf5fee1b2
correct solution to crash
2023-08-24 23:16:03 -04:00
Lincoln Stein
8114fc7bc2
UI tweak to column select
2023-08-24 23:16:03 -04:00
Lincoln Stein
f9d2bcce04
blackify
2023-08-24 23:16:03 -04:00
Lincoln Stein
84bf2a03e9
fix crash that occurs when no invokeai.yaml is present
2023-08-24 23:16:03 -04:00
Kevin Turner
368ff17ed4
Merge branch 'main' into feat/dev_reload
2023-08-24 15:21:50 -07:00
Mary Hipp
d52a096607
enable preselected image actions
2023-08-24 13:29:53 -04:00
Mary Hipp
44b6adfb9f
cleanup
2023-08-25 00:09:16 +10:00
Mary Hipp
466a819f06
render created_by in UI if its present
2023-08-25 00:09:16 +10:00
maryhipp
e6fd1c3d1f
add optional field to type
2023-08-25 00:09:16 +10:00
psychedelicious
7caccb11fa
fix(backend): fix workflow not saving to image
2023-08-25 00:01:29 +10:00
psychedelicious
e22c797fa3
fix(db): fix typing on ImageRecordChanges
2023-08-24 22:13:05 +10:00
psychedelicious
0c5736d9c9
feat(ui): cache image metadata for 24 hours
2023-08-24 22:12:13 +10:00
psychedelicious
2d8f7d425c
feat(nodes): retain image metadata on save
2023-08-24 22:10:24 +10:00
psychedelicious
7d1942e9f0
feat: workflow saving and loading
2023-08-24 21:42:32 +10:00
mickr777
5d8cd62e44
Update CurrentImageNode.tsx
2023-08-24 19:20:35 +10:00
mickr777
b6dc5c0fee
Run Prettier
2023-08-24 18:45:38 +10:00
mickr777
c1b8e4b501
Add Next/Prev Buttons CurrentImageNode.tsx
2023-08-24 18:31:27 +10:00
Millun Atluri
65feb92286
Merge branch 'main' into feat_compel_and
2023-08-24 17:38:35 +10:00
psychedelicious
7f6fdf5d39
feat(ui): hide lama infill
2023-08-23 23:05:29 -04:00
psychedelicious
40e6dd8464
feat(ui): use seed + 1 for second inpaint/outpaint pass
2023-08-23 23:05:29 -04:00
psychedelicious
79df46bad2
chore: flake8
2023-08-23 23:05:29 -04:00
psychedelicious
2f11936db0
fix(ui): use seed + 1 for inpaint/outpaint second pass
2023-08-23 23:05:29 -04:00
blessedcoolant
2ba52b8921
fix: File Tile Infill being broken
2023-08-23 23:05:29 -04:00
blessedcoolant
fa3fcd7820
cleanup: Lama
2023-08-23 23:05:29 -04:00
blessedcoolant
f45ea1145d
fix: LoRA's not working with new canvas refine
2023-08-23 23:05:29 -04:00
blessedcoolant
5eb6148336
chore: black fix
2023-08-23 23:05:29 -04:00
blessedcoolant
49892faee4
experimental: LaMa Infill
2023-08-23 23:05:29 -04:00
blessedcoolant
7bb876a79b
feat: Add Refiner Pass to Canvas Inpainting
2023-08-23 23:05:29 -04:00
blessedcoolant
f89be8c685
cleanup: Some minor cleanup
2023-08-23 23:05:29 -04:00
blessedcoolant
7e4009a58e
chore: Rename canvas refine elements to have more apt names
2023-08-23 23:05:29 -04:00
blessedcoolant
5141e82f88
fix: Remove paste back from inpainting too
2023-08-23 23:05:29 -04:00
blessedcoolant
8277bfab5e
feat: Add Refiner Pass to SDXL Outpainting
...
Also fix Scale Before Processing
2023-08-23 23:05:29 -04:00
blessedcoolant
0af8a0e84b
feat: Replace Seam Painting with Refine Pass for Outpainting
2023-08-23 23:05:29 -04:00
blessedcoolant
9bafe4a94f
fix: Paste Back Not Respecting Inpainted Mask
2023-08-23 23:05:29 -04:00
Kevin Turner
54e844f7da
Merge branch 'main' into feat/dev_reload
2023-08-23 09:47:24 -07:00
psychedelicious
111322b015
fix(ui): fix staging area shadow
...
It was too strong
2023-08-23 23:06:42 +10:00
psychedelicious
859c155e7f
fix(ui): fix IAICollapse
styling
2023-08-23 23:06:42 +10:00
psychedelicious
955fef35aa
chore(ui): remove cruft related to old canvas scaling method
2023-08-23 23:06:42 +10:00
blessedcoolant
f3b293b5cc
feat: Add Blank Image Node
2023-08-23 23:06:42 +10:00
psychedelicious
6efa953172
fix(ui): fix canvas scaling
2023-08-23 23:06:42 +10:00
psychedelicious
06ac16a77d
feat(ui): style minimap
2023-08-23 23:06:42 +10:00
psychedelicious
05c939d41e
feat(ui): remove canvas beta layout
2023-08-23 23:06:42 +10:00
psychedelicious
cfee02b753
feat(ui): align invoke buttons
2023-08-23 23:06:42 +10:00
blessedcoolant
4f088252db
fix: Restyle the WorkflowPanel
2023-08-23 23:06:42 +10:00
blessedcoolant
ca3e826a14
feat: Make the in progress dark mode colors golden
2023-08-23 23:06:42 +10:00
psychedelicious
0cb886b915
feat(ui): node buttons and shadow
2023-08-23 23:06:42 +10:00
blessedcoolant
2ec8fd3dc7
feat: Make the active processing node light up
2023-08-23 23:06:42 +10:00
psychedelicious
90abd0fe49
fix(ui): position floating buttons
2023-08-23 23:06:42 +10:00
psychedelicious
3651cf7ee2
wip buttons
2023-08-23 23:06:42 +10:00
blessedcoolant
8eca3bbbcd
chore: Remove Pinned Hotkeys from Hotkeys Modal
2023-08-23 23:06:42 +10:00
psychedelicious
73318c2847
feat(ui): remove floating panels, move all to resizable panels
...
There is a console error we can ignore when toggling gallery panel on canvas - this will be resolved in the next release of the resizable library
2023-08-23 23:06:42 +10:00
psychedelicious
6d10e40c9b
feat(ui): add selection mode toggle
2023-08-23 23:06:42 +10:00
blessedcoolant
5cf9b75d77
fix: Remove / as hotkey for add node and add tooltip
2023-08-23 23:06:42 +10:00
blessedcoolant
d4463674cf
fix: Move add node hotkey to the right component
2023-08-23 23:06:42 +10:00
psychedelicious
ce7172d78c
feat(ui): add workflow saving/loading (wip)
...
Adds loading workflows with exhaustive validation via `zod`.
There is a load button but no dedicated save/load UI yet. Also need to add versioning to the workflow format itself.
2023-08-23 23:06:42 +10:00
psychedelicious
38b2dedc1d
feat(ui): use new ui_order
to sort fields; connection-only fields in grid
2023-08-23 23:06:42 +10:00
psychedelicious
cd73085eb9
feat(nodes): add ui_order
node field attribute
...
used by UI to sort fields in workflow editor
2023-08-23 23:06:42 +10:00
psychedelicious
2497aa5cd8
feat(ui): improve node schema parsing and add outputType
to templates
2023-08-23 23:06:42 +10:00
psychedelicious
089ada8cd1
chore(ui): typegen
2023-08-23 23:06:42 +10:00
psychedelicious
35d14fc0f9
fix(ui): simplify typegen script
...
i had this committed earlier but lost it somehow
2023-08-23 23:06:42 +10:00
psychedelicious
b79bca2c14
build(ui): fix up lint scripts (way faster now)
2023-08-23 23:06:42 +10:00
psychedelicious
5fc60d0539
fix(nodes): id
field is not an InputField
2023-08-23 23:06:42 +10:00
psychedelicious
7b97754271
chore(ui): update all packages
...
- only breaking change was in `openapi-fetch`, easy fix
- also looks like prettier/eslint is a bit more comprehensive? caught a couple extra things
2023-08-23 23:06:42 +10:00
Kevin Turner
98dcc8d8b3
Merge remote-tracking branch 'origin/main' into feat/dev_reload
2023-08-22 18:18:16 -07:00
Lincoln Stein
3f7ac556c6
Merge branch 'main' into refactor/rename-performance-options
2023-08-21 22:29:34 -04:00
Kevin Turner
56c052a747
Merge branch 'main' into feat/dev_reload
2023-08-21 18:22:31 -07:00
psychedelicious
be6ba57775
chore: flake8
2023-08-22 10:14:46 +10:00
psychedelicious
4da861e980
chore: clean up .gitignore
2023-08-22 10:02:03 +10:00
Lincoln Stein
9d7dfeb857
Merge branch 'main' into refactor/rename-performance-options
2023-08-21 19:47:55 -04:00
Kevin Turner
76750b0121
doc(development): add section on hot reloading with --dev_reload
2023-08-21 16:45:39 -07:00
Kevin Turner
88963dbe6e
Merge remote-tracking branch 'origin/main' into feat/dev_reload
...
# Conflicts:
# invokeai/app/api_app.py
# invokeai/app/services/config.py
2023-08-21 09:04:31 -07:00
blessedcoolant
7b2079cf83
feat: Add hotkey for Add Nodes (Shift+A)
...
Standard with other tools like Blender
2023-08-22 03:31:29 +12:00
psychedelicious
535eb1db16
Merge branch 'main' into fix/stats/handle-exceptions
2023-08-21 19:19:32 +10:00
psychedelicious
01738deb23
feat(ui): add eslint rules
...
- `curly` requires conditionals to use curly braces
- `react/jsx-curly-brace-presence` requires string props to *not* have curly braces
2023-08-21 19:17:36 +10:00
psychedelicious
fbff22c94b
feat(ui): memoize all components
2023-08-21 19:17:36 +10:00
psychedelicious
5c305b1eeb
feat(ui): add app error boundary
...
Should catch all app crashes
2023-08-21 19:17:36 +10:00
psychedelicious
990b6b5f6a
feat(ui): useful tooltips on invoke button
2023-08-21 19:17:36 +10:00
psychedelicious
2dfcba8654
fix(ui): fix graphs using old field names
2023-08-21 19:17:36 +10:00
psychedelicious
d95773f50f
Revert "feat(nodes): make fields that accept connection input optional in OpenAPI schema"
...
This reverts commit 7325cbdd250153f347e3782265dd42783f7f1d00.
2023-08-21 19:17:36 +10:00
psychedelicious
6d111aac90
fix(ui): fix node opacity slider hitbox
2023-08-21 19:17:36 +10:00
psychedelicious
f9fc89b3c5
feat(ui): nodes scheduler type default value -> "euler"
2023-08-21 19:17:36 +10:00
psychedelicious
ab76d54c10
feat(ui): update node schema parsing
...
simplified logic thanks to backend changes
2023-08-21 19:17:36 +10:00
psychedelicious
56245a7406
chore(ui): regen types
2023-08-21 19:17:36 +10:00
psychedelicious
bf04e913c2
feat(nodes): make primitive outputs not optional, fix primitive invocation defaults
2023-08-21 19:17:36 +10:00
psychedelicious
cdc49456e8
feat(api): add additional class
attribute to invocations and outputs in OpenAPI schema
...
It is `"invocation"` for invocations and `"output"` for outputs. Clients may use this to confidently and positively identify if an OpenAPI schema object is an invocation or output, instead of using a potentially fragile heuristic.
2023-08-21 19:17:36 +10:00
psychedelicious
37dc2d9d4d
feat(nodes): update vae node tags
2023-08-21 19:17:36 +10:00
psychedelicious
6e1ddb671e
feat(nodes): make fields that accept connection input optional in OpenAPI schema
...
Doing this via `BaseInvocation`'s `Config.schema_extra()` means all clients get an accurate OpenAPI schema.
Shifts the responsibility of correct types to the backend, where previously it was on the client.
2023-08-21 19:17:36 +10:00
psychedelicious
496a2db15c
feat(nodes): make id
, type
required in BaseInvocation, BaseInvocationOutput
...
Doing this via these classes' `Config.schema_extra()` method makes it unintrusive and clients will get the correct types for these properties.
Shifts the responsibility of correct types to the backend, where previously it was on the client.
2023-08-21 19:17:36 +10:00
psychedelicious
5292eda0e4
feat(nodes): remove "Loader" from model nodes
...
They are not loaders, they are selectors - remove this to reduce confusion.
2023-08-21 19:17:36 +10:00
psychedelicious
4ac41bc4b1
feat(ui): adding node selects new node exclusively
2023-08-21 19:17:36 +10:00
psychedelicious
4be4fc6731
feat(ui): rework add node select
...
- `space` and `/` open floating add node select
- improved filter logic (partial word matches)
2023-08-21 19:17:36 +10:00
psychedelicious
a9fdc77edd
feat(ui): rename node editor to workflow editor
2023-08-21 19:17:36 +10:00
psychedelicious
385765faec
fix(ui): fix missing tags on template parse
2023-08-21 19:17:36 +10:00
psychedelicious
adb05cde5b
feat(ui): simple partial search for nodes
2023-08-21 19:17:36 +10:00
psychedelicious
211e8203f8
feat(ui): organise nodes files
...
- also remove old `.gitignore` of `inputs/` which wasn't used and was ignoring a frontend folder
2023-08-21 19:17:36 +10:00
psychedelicious
0b9ae74192
fix(stats): RuntimeError: dictionary changed size during iteration
2023-08-21 19:17:36 +10:00
psychedelicious
165c57c001
feat(ui): add select all to workflow editor
2023-08-21 19:17:36 +10:00
psychedelicious
2514af79a0
feat(ui): crude node outputs display
...
Resets on invoke. Nothing fancy for the UI yet, just simple text (for numbers and strings) or image. For other output types, the output in JSON.
2023-08-21 19:17:36 +10:00
psychedelicious
f952f8f685
feat(ui): add typegen customisation for invocation outputs
...
The `type` property is required on all of them, but because this is defined in pydantic as a Literal, it is not required in the OpenAPI schema. Easier to fix this by changing the generated types than fiddling around with pydantic.
2023-08-21 19:17:36 +10:00
psychedelicious
484b572023
feat(nodes): primitives have value
instead of a
as field names
2023-08-21 19:17:36 +10:00
psychedelicious
cd9baf8092
fix(stats): fix InvocationStatsService
types
...
- move docstrings to ABC
- `start_time: int` -> `start_time: float`
- remove class attribute assignments in `StatsContext`
- add `update_mem_stats()` to ABC
- add class attributes to ABC, because they are referenced in instances of the class. if they should not be on the ABC, then maybe there needs to be some restructuring
2023-08-21 19:17:36 +10:00
psychedelicious
81385d7d35
fix(stats): fix fail case when previous graph is invalid
...
When retrieving a graph, it is parsed through pydantic. It is possible that this graph is invalid, and an error is thrown.
Handle this by deleting the failed graph from the stats if this occurs.
2023-08-21 19:17:36 +10:00
psychedelicious
519bcb38c1
feat(ui): node delete, copy, paste
2023-08-21 19:17:36 +10:00
psychedelicious
567d46b646
feat(ui): delete key works on workflow editor
2023-08-21 19:17:36 +10:00
psychedelicious
030802295b
feat(ui): reset only specific nodes/cnet that use images
...
Previously if an image was used in nodes and you deleted it, it would reset all of node editor. Same for controlnet.
Now it only resets the specific nodes or controlnets that used that image.
2023-08-21 19:17:36 +10:00
psychedelicious
a495c8c156
feat(ui): misc cleanups
2023-08-21 19:17:36 +10:00
psychedelicious
ae6db67068
feat(ui): add width to mantine selects
2023-08-21 19:17:36 +10:00
psychedelicious
3d84e7756a
fix(nodes): fix field names
2023-08-21 19:17:36 +10:00
psychedelicious
98431b3de4
feat: add Scheduler
as field type
...
- update node schemas
- add `UIType.Scheduler`
- add field type to schema parser, input components
2023-08-21 19:17:36 +10:00
psychedelicious
210a3f9aa7
feat(ui): make mantine single selects *exactly* the same size as chakra ones
2023-08-21 19:17:36 +10:00
psychedelicious
9332ce639c
fix(ui): fix node mouse interactions
...
Add "nodrag", "nowheel" and "nopan" class names in interactable elements, as neeeded. This fixes the mouse interactions and also makes the node draggable from anywhere without needing shift.
Also fixes ctrl/cmd multi-select to support deselecting.
2023-08-21 19:17:36 +10:00
psychedelicious
84cf8bdc08
feat(ui): field context menu, add/remove from linear ui
2023-08-21 19:17:36 +10:00
psychedelicious
64a6aa0293
fix(ui): move BoardContextMenu
to use IAIContextMenu
2023-08-21 19:17:36 +10:00
psychedelicious
5ae14bffba
fix(ui): clear exposedFields when resetting graph
2023-08-21 19:17:36 +10:00
psychedelicious
0909812c84
chore: black
2023-08-21 19:17:15 +10:00
psychedelicious
66c0aea9e7
fix(nodes): removed duplicate node
2023-08-21 19:17:15 +10:00
Damian Stewart
2bcded78e1
add BlendInvocation
2023-08-21 19:17:15 +10:00
Sergey Borisov
beb3e5aeb7
Report correctly to compel if we want get pooled in future(affects blend computation)
2023-08-21 19:05:40 +10:00
Lincoln Stein
5b6069b916
blackify (again)
2023-08-20 16:06:01 -04:00
Lincoln Stein
766cb887e4
resolve more flake8 problems
2023-08-20 15:57:15 -04:00
Lincoln Stein
ef317be1f9
blackify (again)
2023-08-20 15:46:12 -04:00
Lincoln Stein
027b84d1aa
add noqa comments to util/__init__
2023-08-20 15:43:17 -04:00