blessedcoolant
16c366a060
feat: Let users pick CLIP Vision model for Checkpoint IP Adapters
2024-03-27 22:08:23 +05:30
blessedcoolant
c4a856de4a
ui: update the new ip adapter configs on the frontend
2024-03-27 22:08:23 +05:30
psychedelicious
3655a47200
feat(ui): remove references to HF token handling
2024-03-27 18:59:55 +05:30
psychedelicious
7167699015
chore(ui): typegen
2024-03-27 18:59:55 +05:30
psychedelicious
ab36d7c0f2
chore(ui): typegen
2024-03-22 14:59:33 +11:00
psychedelicious
7467768d48
chore(ui): typegen
2024-03-21 07:02:57 -07:00
Brandon Rising
dacfe6853e
Update rc version, regenerate schema
2024-03-20 08:21:23 -07:00
psychedelicious
fc63419c6e
fix(ui): refresh starter models on model add/update/delete
2024-03-20 15:05:25 +11:00
psychedelicious
bdb52cfcf7
feat(ui): set HF token in MM tab
...
- Display a toast on UI launch if the HF token is invalid
- Show form in MM if token is invalid or unable to be verified, let user set the token via this form
2024-03-20 15:05:25 +11:00
psychedelicious
3f6f8199f6
chore(ui): typegen
2024-03-20 15:05:25 +11:00
psychedelicious
bd3e8cbdfb
feat(ui): add starter models tab to MM
...
Lists all starter models with an install button if the model is not yet installed.
2024-03-20 15:05:25 +11:00
psychedelicious
bc12ca9220
chore(ui): typegen
2024-03-20 15:05:25 +11:00
psychedelicious
3f61c51c3a
fix(ui): model list refreshes after changes
...
When consolidating all the model queries I messed up the query tags. Fixed now, so that when a model is installed, removed, or changed, the list refreshes.
2024-03-20 06:25:57 +11:00
Mary Hipp
b25850a585
typegen
2024-03-19 21:59:51 +11:00
Brandon Rising
330e1354b4
Run typegen, update version to 4.0.0rc2
2024-03-14 17:01:36 -04:00
psychedelicious
c24f2046e7
chore(ui): typegen
2024-03-14 12:34:03 -07:00
psychedelicious
328dc99f3a
fix(ui): log model load events
...
- Fix types
- Fix logging in listener
2024-03-14 18:29:55 +05:30
psychedelicious
19d66d5ec7
feat(ui): single getModelConfigs query
...
Single query, with simple wrapper hooks (type-safe). Updated everywhere in frontend.
2024-03-14 23:37:40 +11:00
psychedelicious
1adaf63253
chore(ui): typegen
2024-03-14 16:03:37 +11:00
psychedelicious
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
psychedelicious
437a413ca3
chore(ui): typegen
2024-03-14 10:53:57 +11:00
Jennifer Player
d0800c4888
ui consistency, moved is_diffusers logic to backend, extended HuggingFaceMetadata, removed logic from service
2024-03-13 21:02:29 +11:00
Jennifer Player
004bca5c42
updated endpoint types
2024-03-13 21:02:29 +11:00
Jennifer Player
f7cd3cf1f4
added hf models import tab and route for getting available hf models
2024-03-13 21:02:29 +11:00
Jennifer Player
2a648da557
updated model manager to display when import item is cancelled
2024-03-13 09:18:05 +11:00
psychedelicious
4433b78e59
chore(ui): typegen
2024-03-10 11:03:38 +11:00
Brandon Rising
6aae88bd88
Rerun typegen
2024-03-08 12:44:58 -05:00
psychedelicious
1f69613f5d
chore(ui): typegen
2024-03-08 12:44:58 -05:00
psychedelicious
4ee4a801c6
feat(ui): update default settings for main models
...
Needed some massaging now that only main models get main model default settings.
2024-03-08 12:44:58 -05:00
psychedelicious
53b7f6be37
feat(ui): use default settings for control adapters for processor
2024-03-08 12:44:58 -05:00
psychedelicious
dbd7c94e7c
chore(ui): typegen
2024-03-08 12:44:58 -05:00
Brandon Rising
33ded359e6
Run typegen
2024-03-08 11:10:44 -05:00
Mary Hipp
a28547b3dd
make inplace optional, default to true
2024-03-08 14:41:03 +11:00
Mary Hipp
c7b2bdb846
allow inplace installs
2024-03-08 14:41:03 +11:00
Brandon Rising
afd08c5f46
Regenerate typegen
2024-03-08 13:59:59 +11:00
Brandon Rising
d1f859a446
Remove civit AI model install resources
2024-03-08 13:59:59 +11:00
psychedelicious
8e694992bb
chore(ui): lint
2024-03-08 12:26:35 +11:00
psychedelicious
0aa2070ce0
perf(mm): add manual query cache updates for the update model route
...
This greatly reduces the number of network requests when editing models.
2024-03-08 12:26:35 +11:00
psychedelicious
3a5b0b819c
chore(ui): typegen
2024-03-08 12:26:35 +11:00
Jennifer Player
347f1fd0b7
fix tests
2024-03-06 21:57:41 -05:00
Jennifer Player
8df02623f2
cleanup
2024-03-06 21:57:41 -05:00
Jennifer Player
aa88fadc30
use webp images
2024-03-06 21:57:41 -05:00
Jennifer Player
8411029d93
get model image url from model config, added thumbnail formatting for images
2024-03-06 21:57:41 -05:00
Jennifer Player
239b1e8cc7
moved upload image field and added delete image functionality
2024-03-06 21:57:41 -05:00
Jennifer Player
8a68355926
got model images displaying, still need to clean up types and unused code
2024-03-06 21:57:41 -05:00
Jennifer Player
2f6964bfa5
fetching model image, still not working
2024-03-06 21:57:41 -05:00
Jennifer Player
c1cdfd132b
moved model image to edit page, added model_images service
2024-03-06 21:57:41 -05:00
psychedelicious
e68d7fa6d7
fix(ui): update types
2024-03-07 10:56:59 +11:00
psychedelicious
c5ab1c7ad6
chore(ui): typegen
2024-03-07 10:56:59 +11:00
psychedelicious
c57f6ee885
fix(ui): fix metadata for graphs to use new enriched format
2024-03-07 10:56:59 +11:00
psychedelicious
d4a2ea68fc
chore(ui): typegen
2024-03-07 10:56:59 +11:00
Mary Hipp
a00369a67a
add config path as field in model update form when model is a checkpoint
2024-03-07 10:29:29 +11:00
Mary Hipp Rogers
f2744fd7d1
fix URL for get image workflow ( #5882 )
...
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-03-06 12:46:16 -05:00
psychedelicious
fe6e879d38
fix(ui): invalidate InvocationCacheStatus query cache after clearing intermediates
2024-03-06 08:14:12 -05:00
psychedelicious
b0275700b3
refactor(ui): compute prompt trigger options in the component
...
We can derive the valid trigger options in the component without needing to lift the options list into global state.
2024-03-05 23:50:19 +11:00
psychedelicious
8319aca5f9
chore(ui): typegen
2024-03-05 23:50:19 +11:00
Mary Hipp
ef171e890a
use a listener to recalculate trigger phrases when model or lora list changes
2024-03-05 23:50:19 +11:00
Mary Hipp
2db5eaf907
lint fix
2024-03-05 23:50:19 +11:00
Mary Hipp
ba1dd4b02b
UI in MM to create trigger phrases
2024-03-05 23:50:19 +11:00
psychedelicious
99407c899f
feat(ui): update UI to use new model config backend
...
- Update all queries
- Remove Advanced Add
- Removed un-editable, internal-only model attributes from model edit UI (e.g. format, repo variant, model type)
- Update model tags so the list refreshes when a model installs
- Rename some queries, components, variables, types to match backend
- Fix divide-by-zero in install queue
2024-03-05 23:50:19 +11:00
Mary Hipp Rogers
8b34f5298c
Default model settings ( #5850 )
...
* UI in MM to create trigger phrases
* add scheduler and vaePrecision to config
* UI for configuring default settings for models'
* hook MM default model settings up to API
* add button to set default settings in parameters
* pull out trigger phrases
* back-end for default settings
* lint
* remove log;
gi
* ruff
* ruff format
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-03-04 09:39:03 -05:00
psychedelicious
bbbd18f119
fix(ui): baseUrl hardcoded api path
...
We now hav multiple api versions for different routers, so we cannot hardcode the `/api/v1` portion of the baseUrl
2024-03-01 10:42:33 +11:00
psychedelicious
f6c068afdd
tidy(ui): fix circular dependencies in listeners
2024-03-01 10:42:33 +11:00
psychedelicious
f0b3485ce9
chore(ui): typegen, update knip config
...
Knip should never touch the autogenerated types
2024-03-01 10:42:33 +11:00
psychedelicious
d99bec8b1a
tidy(ui): clean up unused code 5
...
variables, types and schemas
2024-03-01 10:42:33 +11:00
psychedelicious
b661d93bd8
tidy(ui): clean up unused code 4
...
variables, types and schemas
2024-03-01 10:42:33 +11:00
psychedelicious
80065858ed
chore(ui): lint
2024-03-01 10:42:33 +11:00
psychedelicious
aaeef03593
fix(ui): fix remaining TS issues
2024-03-01 10:42:33 +11:00
psychedelicious
97ecd99b9c
fix(ui): fix up MM queries & types (wip)
2024-03-01 10:42:33 +11:00
psychedelicious
202e739404
tidy(api): remove non-heuristic install route
2024-03-01 10:42:33 +11:00
psychedelicious
80697a71de
feat(nodes): update LoRAMetadataItem model
...
LoRA model now at under `model` not `lora.
2024-03-01 10:42:33 +11:00
psychedelicious
7176c5d9d6
feat(ui): optimize model query caching
...
When we retrieve a list of models, upsert that data into the `getModelConfig` and `getModelConfigByAttrs` query caches.
With this change, calls to those two queries are almost always going to be free, because their caches will already have all models in them. The exception is queries for models that no longer exist.
2024-03-01 10:42:33 +11:00
psychedelicious
24daacecf2
fix(ui): fix node type
2024-03-01 10:42:33 +11:00
psychedelicious
d1f4cde8c7
feat(ui): refactor metadata handling (again)
...
Add concepts for metadata handlers. Handlers include parsers, recallers and validators for different metadata types:
- Parsers parse a raw metadata object of any shape to a structured object.
- Recallers load the parsed metadata into state. Recallers are optional, as some metadata types don't need to be loaded into state.
- Validators provide an additional layer of validation before recalling the metadata. This is needed because a metadata object may be valid, but not able to be recalled due to some other requirement, like base model compatibility. Validators are optional.
Sometimes metadata is not a single object but a list of items - like LoRAs. Metadata handlers may implement an optional set of "item" handlers which operate on individual items in the list.
Parsers and validators are async to allow fetching additional data, like a model config. Recallers are synchronous.
The these handlers are composed into a public API, exported as a `handlers` object. Besides the handlers functions, a metadata handler set includes:
- A function to get the label of the metadata type.
- An optional function to render the value of the metadata type.
- An optional function to render the _item_ value of the metadata type.
2024-03-01 10:42:33 +11:00
psychedelicious
4d5458648b
chore(ui): typegen
2024-03-01 10:42:33 +11:00
psychedelicious
6f591b324b
chore(ui): typegen
2024-03-01 10:42:33 +11:00
blessedcoolant
68d79c002d
canvas: improve paste back (or try to)
2024-03-01 10:42:33 +11:00
psychedelicious
1456c997fb
fix(ui): fix merge issue
2024-03-01 10:42:33 +11:00
psychedelicious
9e02384674
chore(ui): typegen
2024-03-01 10:42:33 +11:00
psychedelicious
98d60e7db5
chore(ui): lint
2024-03-01 10:42:33 +11:00
psychedelicious
4420392241
fix(ui): fix metadata route
2024-03-01 10:42:33 +11:00
psychedelicious
1d410e6346
chore(ui): typegen
2024-03-01 10:42:33 +11:00
Mary Hipp
740dbc0c32
lint fix
2024-03-01 10:42:33 +11:00
Mary Hipp
baf1194cae
clean up old model manager components and endpoints
2024-03-01 10:42:33 +11:00
Mary Hipp
c3f4e87a6e
fix logic to see if scanned models are already installed, style tweaks
2024-03-01 10:42:33 +11:00
Mary Hipp
625c86ba9a
add error_reason to UI if import fails
2024-03-01 10:42:33 +11:00
Mary Hipp
53f0090197
fix types for ImportQueue, add QuickAdd for scan models
2024-03-01 10:42:33 +11:00
Jennifer Player
5496699d6c
refactored and fixed issues with advanced import form
2024-03-01 10:42:33 +11:00
psychedelicious
793c7ec832
fix(ui): fix ImportMainModelResponse type
2024-03-01 10:42:33 +11:00
psychedelicious
7c41b3439a
fix(ui): fix model install event types
2024-03-01 10:42:33 +11:00
Jennifer Player
cdd2f18bbd
added advanced import forms, not fully working yet
2024-03-01 10:42:33 +11:00
Mary Hipp
57a402053e
basic scan working and renders results
2024-03-01 10:42:33 +11:00
Mary Hipp
9ae09e9a7c
add scan model endpoint, break add model into tabs
2024-03-01 10:42:33 +11:00
Mary Hipp
5a12886dbb
update metadata endpoint
2024-03-01 10:42:33 +11:00
Jennifer Player
ea364bdf82
delete model imports and prune all finished, update state with socket messages
2024-03-01 10:42:33 +11:00
Mary Hipp
18904f79ef
fix sync model endpoint
2024-03-01 10:42:33 +11:00
Jennifer Player
20576deae8
added socket listeners, added more info to ui
2024-03-01 10:42:33 +11:00
Mary Hipp
0a69779df9
edit view for model, depending on type and valid values
2024-03-01 10:42:33 +11:00
Mary Hipp
c46eb72d45
single model view
2024-03-01 10:42:33 +11:00
Mary Hipp
55f3c6e721
get old UI working somewhat with new endpoints
2024-03-01 10:42:33 +11:00