Lincoln Stein
e971a7f35c
when migrating models.yaml, rename original models.yaml.orig
2023-05-16 22:37:53 -04:00
Lincoln Stein
8d75e50435
partial port of invokeai-configure
2023-05-16 01:50:01 -04:00
psychedelicious
6ab84741a0
fix(nodes): make ModelsList an enum-keyed dict
...
The `ModelsList` OpenAPI schema is generated as being keyed by plain strings. This means that API consumers do not know the shape of the dict. It _should_ be keyed by the `SDModelType` enum.
Unfortunately, `fastapi` does not actually handle this correctly yet; it still generates the schema with plain string keys.
Adding this anyways though in hopes that it will be resolved upstream and we can get the correct schema. Until then, I'll implement the (simple but annoying) logic on the frontend.
https://github.com/pydantic/pydantic/issues/4393
2023-05-16 15:02:58 +10:00
Lincoln Stein
cd16857f38
fix None in model_type
2023-05-16 00:13:44 -04:00
Lincoln Stein
1442f1cb8d
change model filter to None in second place
2023-05-16 00:03:57 -04:00
Lincoln Stein
eea0d6f7bc
default to no filter in list_models()
2023-05-15 23:52:29 -04:00
psychedelicious
1d9c115225
feat(nodes): add low and high to RandomIntInvocation
2023-05-16 13:50:52 +10:00
Lincoln Stein
4fe94a9315
list_models() now returns a dict of {type,{name: info}}
2023-05-15 23:44:08 -04:00
psychedelicious
cc21fb216c
chore(ui): clean up GalleryPanel
2023-05-16 10:43:26 +10:00
psychedelicious
6fe62a2705
feat(ui): sampler
--> scheduler
2023-05-16 10:40:26 +10:00
psychedelicious
da87378713
chore(ui): regen api client
2023-05-16 10:39:40 +10:00
psychedelicious
b6f5267385
chore(ui): clean up generationSlice
2023-05-16 10:21:18 +10:00
psychedelicious
f9e78d3c64
chore(ui): clean up gallerySlice
2023-05-16 10:16:36 +10:00
psychedelicious
b7b5bd1b46
chore(ui): clean up uiSlice
2023-05-16 09:57:19 +10:00
psychedelicious
9a3727d3ad
chore(ui): clean up systemSlice
2023-05-16 09:48:58 +10:00
psychedelicious
d68c14516c
chore(ui): clean up persist denylists
2023-05-16 09:46:03 +10:00
psychedelicious
9f4d39aa42
chore(ui): clean up modelSlice
2023-05-16 09:45:49 +10:00
blessedcoolant
2fc70c509b
Merge branch 'main' into feat/ui/fix-uploading
2023-05-16 02:20:59 +12:00
Lincoln Stein
80bdd550cf
Merge branch 'main' into lstein/bugfix/compel
2023-05-15 09:25:21 -04:00
Lincoln Stein
7ef0d2aa35
merge with main
2023-05-15 09:07:17 -04:00
psychedelicious
2359b92b46
chore(ui): tidy unused component ref
2023-05-15 22:58:15 +10:00
psychedelicious
a404fb2d32
docs(ui): update PACKAGE_SCRIPTS.md
2023-05-15 22:49:28 +10:00
psychedelicious
513eb11616
chore(ui): clean up unused files/packages
2023-05-15 22:48:06 +10:00
psychedelicious
d2c9140e69
feat(ui): restore save/copy/download/merge functionality
2023-05-15 22:21:03 +10:00
psychedelicious
d95fe5925a
feat(ui): restore image post-upload actions
...
eg set init image if on img2img when uploading
2023-05-15 18:52:48 +10:00
psychedelicious
835922ea8f
fix(ui): floor canvas coords to prevent partial pixel offset rendering issues
2023-05-15 18:50:34 +10:00
psychedelicious
e1e5266fc3
feat(ui): refactor base image uploading logic
2023-05-15 17:45:05 +10:00
psychedelicious
5e4457445f
feat(ui): make toast/hotkey into logical components
2023-05-15 15:25:27 +10:00
psychedelicious
0221ca8f49
fix(ui): use cloned canvas for retrieving dataURL/Blobs
2023-05-15 13:54:30 +10:00
Lincoln Stein
c8f765cc06
improve debugging messages
2023-05-14 18:29:55 -04:00
Eugene Brodsky
cf36e4029e
fix(ui): fix syntax error in the logo component flexbox
2023-05-15 08:24:33 +10:00
Lincoln Stein
b9e9087dbe
do not manage GPU for pipelines if sequential_offloading is True
2023-05-14 18:09:38 -04:00
Lincoln Stein
63e465eb5c
tweaks to get_model()
behavior
...
1. If an external VAE is specified in config file, then
get_model(submodel=vae) will return the external VAE, not the one
burnt into the parent diffusers pipeline.
2. The mechanism in (1) is generalized such that you can now have
"unet:", "text_encoder:" and similar stanzas in the config file.
Valid formats of these subsections:
unet:
repo_id: foo/bar
unet:
path: /path/to/local/folder
unet:
repo_id: foo/bar
subfolder: unet
In the near future, these will also be used to attach external
parts to the pipeline, generalizing VAE behavior.
3. Accommodate callers (i.e. the WebUI) that are passing the
model key ("diffusers/stable-diffusion-1.5") to get_model()
instead of the tuple of model_name and model_type.
4. Fixed bug in VAE model attaching code.
5. Rebuilt web front end.
2023-05-14 16:50:59 -04:00
Eugene Brodsky
c8a98a9a22
Merge branch 'main' into lstein/bugfix/compel
2023-05-14 14:43:18 -04:00
blessedcoolant
c4681774a5
Merge branch 'main' into logging-facelift
2023-05-15 02:08:29 +12:00
Damian Stewart
050add58d2
fix getting conditionings
2023-05-14 12:20:54 +02:00
psychedelicious
f5df150097
feat(ui): add callback to signal app is ready
...
needed for commercial
2023-05-14 18:42:15 +10:00
psychedelicious
dac82adb5b
fix(ui): make logo component non-selectable
2023-05-14 18:41:11 +10:00
Eugene
b72c9787a9
Revert "comment out customer_attention_context"
...
This reverts commit 8f8cd907878f00772e6c24185387d09dbd1167e7.
Due to NameError: name 'options' is not defined
2023-05-14 00:37:55 -04:00
Lincoln Stein
426f4eaf7e
adjusted regression tests to work with new SDModelTypes
2023-05-13 22:29:33 -04:00
Eugene Brodsky
2623941d91
Merge branch 'main' into lstein/bugfix/compel
2023-05-13 22:23:59 -04:00
Lincoln Stein
baf5451fa0
Merge branch 'main' into lstein/new-model-manager
2023-05-13 22:01:34 -04:00
psychedelicious
d3a7fea939
Revert "fix: Rework the layout of the parameters scrollbar"
...
This reverts commit 6f1fc397f75fe0fdb3a50639cfad52bf98604146.
2023-05-14 11:45:08 +10:00
psychedelicious
5a7b687c84
fix(ui): add missing packages
2023-05-14 11:45:08 +10:00
psychedelicious
0020457fc7
fix(ui): tweak settings scheduler styling
2023-05-14 11:45:08 +10:00
psychedelicious
658b556544
feat(ui): IAICustomSelect v2, implement for scheduler & model
2023-05-14 11:45:08 +10:00
psychedelicious
37da0fc075
feat(ui): IAICustomSelect v1
2023-05-14 11:45:08 +10:00
psychedelicious
6d3e8507cc
fix(ui): fix "no image" fallbacks
2023-05-14 11:45:08 +10:00
blessedcoolant
0e9470503f
fix: Rework the layout of the parameters scrollbar
2023-05-14 11:45:08 +10:00
blessedcoolant
d2ebc6741b
feat: Add setting to hide / display schedulers
2023-05-14 11:45:08 +10:00