psychedelicious
c071262c20
fix(ui): remove getMetadataFromFile query & util
...
This will all be handled by python going forward
2023-10-20 12:05:13 +11:00
psychedelicious
2f4f83280b
fix(db): remove extraneous conflict handling in workflow image records
2023-10-20 12:05:13 +11:00
psychedelicious
301a8fef92
fix(ui): fix batch metadata logic when graph has no metadata
...
On canvas, images have no metadata yet, so this needs to be handled
2023-10-20 12:05:13 +11:00
psychedelicious
52fbd1b222
fix(ui): remove errant comment
2023-10-20 12:05:13 +11:00
psychedelicious
16dacb5f43
fix(nodes): remove constraints on ip adapter metadata fields
2023-10-20 12:05:13 +11:00
psychedelicious
b5940039f3
chore: lint
2023-10-20 12:05:13 +11:00
psychedelicious
9104979943
chore(ui): regen types
2023-10-20 12:05:13 +11:00
psychedelicious
f04462973b
feat(ui): create debounced metadata/workflow query hooks
...
Also added config options for metadata and workflow debounce times (`metadataFetchDebounce` & `workflowFetchDebounce`).
Falls back to 0 if not provided.
In OSS, because we have no major latency concerns, the debounce is 0. But in other environments, it may be desirable to set this to something like 300ms.
2023-10-20 12:05:13 +11:00
psychedelicious
2faed653d7
fix(api): deduplicate metadata/workflow extraction logic
2023-10-20 12:05:13 +11:00
psychedelicious
0cda7943fa
feat(api): add workflow_images junction table
...
similar to boards, images and workflows may be associated via junction table
2023-10-20 12:05:13 +11:00
psychedelicious
6d776bad7e
fix(nodes): remove errant print
2023-10-20 12:05:13 +11:00
psychedelicious
86c3acf184
fix(nodes): revert optional graph
2023-10-20 12:05:13 +11:00
psychedelicious
d32caf7cb1
fix(ui): remove references to metadata accumulator
2023-10-20 12:05:13 +11:00
psychedelicious
e3e8d8af02
fix(ui): fix log message
2023-10-20 12:05:13 +11:00
psychedelicious
7b6e2bc37f
feat(nodes): add field name validation
...
Protect against using reserved field names
2023-10-20 12:05:13 +11:00
psychedelicious
bbae4045c9
fix(nodes): GraphInvocation
should use InputField
2023-10-20 12:05:13 +11:00
psychedelicious
8910e912c7
chore(ui): regen types
2023-10-20 12:05:13 +11:00
psychedelicious
4012388f0a
feat: use ModelValidator
naming convention for pydantic type adapters
...
This is the naming convention in the docs and is also clear.
2023-10-20 12:05:13 +11:00
psychedelicious
3c4f43314c
feat: move workflow/metadata models to baseinvocation.py
...
needed to prevent circular imports
2023-10-20 12:05:13 +11:00
psychedelicious
5a163f02a6
fix(nodes): fix metadata/workflow serialization
2023-10-20 12:05:13 +11:00
psychedelicious
f0db4d36e4
feat: metadata refactor
...
- Refactor how metadata is handled to support a user-defined metadata in graphs
- Update workflow embed handling
- Update UI to work with these changes
- Update tests to support metadata/workflow changes
2023-10-20 12:05:13 +11:00
psychedelicious
c2da74c587
feat: add workflows table & service
2023-10-20 12:05:13 +11:00
psychedelicious
9195c8c957
feat: dedicated route to get intermediates count
...
This fixes a weird issue where the list images method needed to handle `None` for its `limit` and `offset` arguments, in order to get a count of all intermediates.
2023-10-19 16:58:51 +11:00
psychedelicious
96e80c71fb
chore: lint
2023-10-19 08:52:02 +11:00
psychedelicious
da403ba04c
fix(api): flesh out types for api_app.py
2023-10-19 08:52:02 +11:00
psychedelicious
e4c45012f4
feat(api): add gzip middleware
...
On our local installs this will be a very minor change. For those running on remote servers, load times should be slightly improved.
It's a small change but I think correct.
2023-10-19 08:52:02 +11:00
psychedelicious
ef14ba1713
fix(api): fix uvicorn config loop arg
...
We were providing the loop itself, not the kind of loop. This didn't appear to cause any issues whatsoever, but now it's correct.
2023-10-19 08:52:02 +11:00
psychedelicious
9e06371178
feat(api): serve app via route & add cache-control: no-store
...
This should prevent `index.html` from *ever* being cached, so UIs will never be out of date.
Minor organisation to accomodate this.
Deleting old unused files from the early days
2023-10-19 08:52:02 +11:00
psychedelicious
a459786d73
fix(nodes): enable number to string coercion
2023-10-19 08:43:08 +11:00
d8ahazard
fdf02c33d0
Catch generic model errors
...
Prevent the app from dying on invalid models.
2023-10-19 07:28:33 +11:00
psychedelicious
0a01d86ab1
fix(ui): fix multiple control adapters on canvas
...
We were making an edges for each adapter where we should isntead have one from the adapter's collect node into the denoising node
2023-10-19 07:15:27 +11:00
psychedelicious
5e6df975fd
fix(nodes): fix math node validation
...
Update field_validator api for pydantic v2
2023-10-19 06:50:00 +11:00
Ryan Dick
a078efc0f2
Merge branch 'main' into ryan/multi-image-ip
2023-10-18 08:59:12 -04:00
psychedelicious
024aa5eb90
fix(ui): fix field sorting
...
closes #4934
2023-10-18 15:35:26 +11:00
Lincoln Stein
d27392cc2d
remove all references to CLI
2023-10-18 11:28:26 +11:00
blessedcoolant
4b197cb6d4
Merge branch 'main' into fix/ui/sketch-pidi-processor
2023-10-18 04:02:30 +05:30
psychedelicious
252c9a5f5a
fix(backend): fix nsfw/watermarker util types
2023-10-18 09:08:13 +11:00
psychedelicious
975ba6b74f
fix(ui): use pidi processor for sketch
2023-10-18 08:43:56 +11:00
psychedelicious
284a257c25
feat: remove enqueue_graph
routes/methods ( #4922 )
...
This is totally extraneous - it's almost identical to `enqueue_batch`.
2023-10-17 18:00:40 +00:00
psychedelicious
58a0709c1e
Revert "Fixing some var and arg names."
...
This reverts commit f11ba81a8d
.
2023-10-17 11:59:11 -04:00
psychedelicious
c04fb451ee
Revert "Changes to _apply_standard_conditioning_sequentially() and _apply_cross_attention_controlled_conditioning() to reflect changes to T2I-Adapter implementation to allow usage of T2I-Adapter and ControlNet at the same time."
...
This reverts commit 378689a519
.
2023-10-17 11:59:11 -04:00
psychedelicious
6e697b7b6f
Revert "Cleaning up (removing diagnostic prints)"
...
This reverts commit 06f8a3276d
.
2023-10-17 11:59:11 -04:00
psychedelicious
38e7eb8878
Revert "chore: lint"
...
This reverts commit fff29d663d
.
2023-10-17 11:59:11 -04:00
psychedelicious
bdf4c4944c
Revert "feat(ui): remove special handling for t2i vs controlnet"
...
This reverts commit b146993553
.
2023-10-17 11:59:11 -04:00
psychedelicious
b146993553
feat(ui): remove special handling for t2i vs controlnet
2023-10-17 19:42:06 +11:00
psychedelicious
fff29d663d
chore: lint
2023-10-17 19:42:06 +11:00
user1
06f8a3276d
Cleaning up (removing diagnostic prints)
2023-10-17 19:42:06 +11:00
user1
378689a519
Changes to _apply_standard_conditioning_sequentially() and _apply_cross_attention_controlled_conditioning() to reflect changes to T2I-Adapter implementation to allow usage of T2I-Adapter and ControlNet at the same time.
...
Also, the PREVIOUS commit (@8d3885d, which was already pushed to github repo) was wrongly commented, but too late to fix without a force push or other mucking that I'm reluctant to do. That commit is actually the one that has all the changes to diffusers_pipeline.py to use additional arg down_intrablock_additional_residuals (introduced in diffusers PR https://github.com/huggingface/diffusers/pull/5362 ) to detangle T2I-Adapter from ControlNet inputs to main UNet.
2023-10-17 19:42:06 +11:00
user1
f11ba81a8d
Fixing some var and arg names.
2023-10-17 19:42:06 +11:00
Surisen
c69715636d
translationBot(ui): update translation (Chinese (Simplified))
...
Currently translated at 100.0% (1217 of 1217 strings)
Co-authored-by: Surisen <zhonghx0804@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/zh_Hans/
Translation: InvokeAI/Web UI
2023-10-17 16:42:37 +11:00