4c417adc82
fix(ui): use revised metadata model types
...
We can also totally remove the fetch logic because we store the same model data in state now.
2024-03-14 10:53:57 +11:00
437a413ca3
chore(ui): typegen
2024-03-14 10:53:57 +11:00
4492bedd19
tidy(nodes): use ModelIdentifierField for model metadata
...
Until recently, this had a different shape than the ModelMetadataField. They are now the same, so we can re-use the ModelIdentifierField.
2024-03-14 10:53:57 +11:00
db12ce95a8
fix(ui): invalid collect node error w/ control adapters
...
The graph builders used awaited functions within `Array.prototype.forEach` loops. This doesn't do what you'd think. This caused graphs to be enqueued before they were fully constructed.
Changed to `for..of` loops to fix this.
2024-03-14 10:53:57 +11:00
ee3a1a95ef
fix(ui): control adapters require control images
...
There wasn't enough validation of control adapters during graph building. It would be possible for a graph to be built with empty collect node, causing an error. Addressed with an extra check.
This should never happen in practice, because the invoke button should be disabled if an invalid CA is active.
2024-03-14 10:53:57 +11:00
4bb5aba70e
feat(ui): only fetch TIs on first load, add comment
2024-03-14 07:38:09 +11:00
cd55c23713
initiate TI model query when socket connects so user doesnt have to wait when opening prompt trigger phrases
2024-03-14 07:38:09 +11:00
1d2743af1b
remove log
2024-03-14 07:25:48 +11:00
99d2099ccd
add key for controladapter CustomSelect too
2024-03-14 07:25:48 +11:00
b64a693f16
try adding a key to force rerender when items load
2024-03-14 07:25:48 +11:00
af660163ca
chore: cleanup DepthAnything code
2024-03-13 20:35:52 +05:30
c73f58e486
docs: move frontend docs to mkdocs
2024-03-13 22:43:20 +11:00
614fece147
chore(ui): prettier
2024-03-13 21:02:29 +11:00
8ef8082d65
feat(ui): style add model panel
2024-03-13 21:02:29 +11:00
d93d4afbb7
feat(ui): style HF scan tab
2024-03-13 21:02:29 +11:00
01207a2fa5
fix(mm): config.json
to indicates diffusers model
2024-03-13 21:02:29 +11:00
d0800c4888
ui consistency, moved is_diffusers logic to backend, extended HuggingFaceMetadata, removed logic from service
2024-03-13 21:02:29 +11:00
2a300ecada
updated add model copy, added search to hugging face results
2024-03-13 21:02:29 +11:00
90340a39c7
clean up python errors
2024-03-13 21:02:29 +11:00
ee77abb4fe
updated simple install button to match other tabs
2024-03-13 21:02:29 +11:00
004bca5c42
updated endpoint types
2024-03-13 21:02:29 +11:00
5ad048a161
fixed error handling
2024-03-13 21:02:29 +11:00
6369ccd05e
added placeholders, updated some copy
2024-03-13 21:02:29 +11:00
3a5314f1ca
install model if diffusers or single file, cleaned up backend logic to not mess with existing model install
2024-03-13 21:02:29 +11:00
4c0896e436
removed log
2024-03-13 21:02:29 +11:00
f7cd3cf1f4
added hf models import tab and route for getting available hf models
2024-03-13 21:02:29 +11:00
d0d695c020
disable trigger phrase form if empty
2024-03-12 21:08:15 -04:00
2a648da557
updated model manager to display when import item is cancelled
2024-03-13 09:18:05 +11:00
8d2a4db902
Found another instance of expecting a mid_block on the decoder in a vae
2024-03-12 12:11:38 -04:00
7b393656de
Update l2i invoke and seamless to support AutoencoderTiny, remove attention processors if no mid_block is detected
2024-03-12 12:00:24 -04:00
43948e0758
feat(ui): add setting for always show image size badge
2024-03-12 18:52:23 +11:00
cc03fcbcb6
style(ui): tweak image dimension badge overlay styles
2024-03-12 18:52:23 +11:00
d1e445fa49
fix(ui): changed to theme tokens
2024-03-12 18:52:23 +11:00
adba8489f2
fix(ui): made changes to avoid overlapping
2024-03-12 18:52:23 +11:00
d919022ba5
fix(ui): fixed requested changes and made the badge display on hover
2024-03-12 18:52:23 +11:00
e076898798
fix(ui): logic to remove badge for small image size
2024-03-12 18:52:23 +11:00
9f19b766a4
feat(ui): Add image size badge to gallery images
2024-03-12 18:52:23 +11:00
be951da99d
{release} 4.0.0rc1
2024-03-12 10:05:03 +11:00
9ee2e7ff25
Do not override log_memory_usage when debug logs are enabled. The speed cost of log_memory_usage=True is large. It is common to want debug log without enabling log_memory_usage.
2024-03-12 09:48:50 +11:00
149ff758b9
Run ruff
2024-03-11 15:53:00 -04:00
65d415d5aa
Remove redundant with_suffix call
2024-03-11 15:53:00 -04:00
c74c1927ec
Gracefully error without deleting invokeai.yaml
2024-03-11 15:53:00 -04:00
c454ccc65c
Run ruff
2024-03-11 15:53:00 -04:00
46fd3465ce
Skip list logic if the list only contains primitives
2024-03-11 15:53:00 -04:00
97afa6e2a6
Allow lists of basemodel objects in omegaconf
2024-03-11 15:53:00 -04:00
8c2ff794d5
fix(nodes): ip adapter uses valid ModelIdentifierField
for image encoder model
...
- Add class method to `ModelIdentifierField` to construct the field from a model config
- Use this to construct a valid IP adapter model field
2024-03-10 17:28:58 -05:00
145bb45858
Remove dead code related to an old symmetry feature.
2024-03-10 00:13:18 -06:00
9376b13435
fix(mm): models lose file extension when syncing
...
We were stripping the file extension from file models when moving them in `_sync_model_path`. For example, `some_model.safetensors` would be moved to `some_model`, which of course breaks things.
Instead of using the model's name as the new path, use the model's path's last segment. This is the same behaviour for directories, but for files, it retains the file extension.
2024-03-10 13:36:09 +11:00
eec82afd89
fix(mm): fix models.yaml
backup filename
...
Was erroneously `models.bak`, now `models.yaml.bak`
2024-03-10 13:36:09 +11:00
c47dbf7258
docs(mm): format docstrings for ModelSearch
2024-03-10 12:09:47 +11:00