Commit Graph

3800 Commits

Author SHA1 Message Date
psychedelicious
dbf6b1b68a feat(ui): clean up & comment results slice 2023-04-04 00:31:17 +10:00
psychedelicious
9baa8f7a6a fix(nodes): fix typo in list_sessions handler 2023-04-04 00:18:11 +10:00
psychedelicious
7ca32ce9f3 feat(ui): begin migrating gallery to nodes
Along the way, migrate to use RTK `createEntityAdapter` for gallery images, and separate `results` and `uploads` into separate slices. Much cleaner this way.
2023-04-03 19:05:33 +10:00
psychedelicious
4fe7e52111 chore(ui): add typescript as dev dependency
I am having trouble with TS versions after vscode updated and now uses TS 5. `madge` has installed 3.9.10 and for whatever reason my vscode wants to use that. Manually specifying 4.9.5 and then setting vscode to use that as the workspace TS fixes the issue.
2023-04-03 19:04:09 +10:00
psychedelicious
7ff50796e5 chore(ui): regenerate api client 2023-04-03 18:56:59 +10:00
psychedelicious
5a9157e628 feat(nodes): make ImageField properties required 2023-04-03 18:56:48 +10:00
psychedelicious
d1058adb59 feat(nodes): save thumbnails 2023-04-03 14:34:07 +10:00
psychedelicious
3c99abab32 fix(nodes): commit changes to db 2023-04-03 12:02:58 +10:00
psychedelicious
7ed1772fad docs(ui): update readme 2023-04-03 11:04:24 +10:00
psychedelicious
fd031b6c2a chore(ui): bump redux-toolkit 2023-04-02 21:29:22 +10:00
psychedelicious
272803ba7c feat(ui): load images on socket connect
Rudimentary
2023-04-02 21:28:58 +10:00
psychedelicious
8d8284afaa feat(ui): add type guards for outputs 2023-04-02 21:28:03 +10:00
psychedelicious
01607c961f feat(ui): make thunk types more consistent 2023-04-02 21:27:46 +10:00
psychedelicious
30b61ae8d4 feat(ui): fix parameters panel border color
This commit should be elsewhere but I don't want to break my flow
2023-04-02 21:26:59 +10:00
psychedelicious
1890bffc6e feat(ui): disable NodeAPITest
This was polluting the network/socket logs.
2023-04-02 21:25:55 +10:00
psychedelicious
662f1321f6 feat(ui): add rtk action type guard 2023-04-02 19:48:29 +10:00
psychedelicious
4ac447cf74 fix(ui): fix middleware types 2023-04-02 19:48:03 +10:00
psychedelicious
f9c243d29f feat(ui): handle random seeds 2023-04-02 18:41:54 +10:00
psychedelicious
eda334bc34 feat(ui): add nodes mode script 2023-04-02 17:48:12 +10:00
maryhipp
f2a2f326ce chore(ui): add support for package mode 2023-04-01 14:50:56 +11:00
maryhipp
7b10762ea1 feat(ui): get intermediate images working but types are stubbed out 2023-04-01 14:50:56 +11:00
maryhipp
2db2c986d1 feat(ui): img2img implementation 2023-04-01 14:50:56 +11:00
maryhipp
40b2d2b05b feat(ui): write separate nodes socket layer, txt2img generating and rendering w single node 2023-04-01 14:50:56 +11:00
maryhipp
4fe49718e0 feat(ui): start hooking up dynamic txt2img node generation, create middleware for session invocation 2023-04-01 14:50:56 +11:00
maryhipp
3ebd289a59 add optional apiUrl prop 2023-04-01 14:50:56 +11:00
maryhipp
1bd246e9a9 use reference to sampler_name 2023-04-01 14:50:56 +11:00
maryhipp
e75141150f use reference to sampler_name 2023-04-01 14:50:56 +11:00
maryhipp
660e665cf3 start building out node translations from frontend state and add notes about missing features 2023-04-01 14:50:56 +11:00
psychedelicious
ca41a52174 feat(ui): wip nodes
- extract api client method arg types instead of manually declaring them
- update example to display images
- general tidy up
2023-04-01 14:50:56 +11:00
psychedelicious
999c3a443b feat(ui): add socketio types 2023-04-01 14:50:56 +11:00
psychedelicious
21fb41ef56 fix(ui): fix scrollbar styles typing and prop
just noticed the typo, and made the types stronger.
2023-04-01 14:50:56 +11:00
psychedelicious
4f99b005b1 fix(ui): disable OG web server socket connection 2023-04-01 14:50:56 +11:00
psychedelicious
d86588ec76 chore(ui): regenerate api client 2023-04-01 14:50:56 +11:00
psychedelicious
6c1f666242 feat(ui): nodes cancel 2023-04-01 14:50:56 +11:00
psychedelicious
07428769df feat(ui): more nodes api prototyping 2023-04-01 14:50:56 +11:00
psychedelicious
b49338b464 feat(ui): generate object args for api client 2023-04-01 14:50:56 +11:00
psychedelicious
92996898f2 feat(backend): fixes for nodes/generator 2023-04-01 14:50:56 +11:00
psychedelicious
d66d844dd2 chore(ui): update openapi.json 2023-04-01 14:50:56 +11:00
psychedelicious
d46d52ca63 chore(ui): update .eslintignore, .prettierignore 2023-04-01 14:50:56 +11:00
psychedelicious
427104f936 chore(ui): organize generated files 2023-04-01 14:50:56 +11:00
psychedelicious
16442e8f15 fix(ui): update client & nodes test code w/ new Edge type 2023-04-01 14:50:56 +11:00
psychedelicious
1c7d92dc48 feat(ui): add axios client generator and simple example 2023-04-01 14:50:56 +11:00
Lincoln Stein
c4e6511a59
Add support for yet another TI embedding format (main version) (#3050)
- This PR adds support for embedding files that contain a single key
"emb_params". The only example I know of this format is the
"EasyNegative" embedding on HuggingFace, but there are certainly others.

- This PR also adds support for loading embedding files that have been
saved in safetensors format.

- It also cleans up the code so that the logic of probing for and
selecting the right format parser is clear.

- This is the same as #3045, which is on the 2.3 branch.
2023-03-31 03:57:57 -04:00
Lincoln Stein
44843be4c8
Merge branch 'main' into enhance/support-another-embedding-format-main 2023-03-30 23:16:52 -04:00
Lincoln Stein
054e963bef
add basic autocomplete functionality to node cli (#3035)
- Commands, invocations and their parameters will now autocomplete using
introspection.
- Two types of parameter *arguments* will also autocomplete:
  - --sampler_name  will autocomplete the scheduler name
  - --model will autocomplete the model name
- There don't seem to be commands for reading/writing image files yet,
so path autocompletion is not implemented
2023-03-30 08:25:36 -04:00
Lincoln Stein
afb66a7884
Merge branch 'main' into feat/node-cli-autocompleter 2023-03-30 07:51:51 -04:00
Lincoln Stein
b9df9e26f2
Merge branch 'main' into enhance/support-another-embedding-format-main 2023-03-30 07:51:23 -04:00
Lincoln Stein
25ae36ceb5
I18n build mode (#3051)
Add build mode option to bundle english translation with UI
2023-03-29 22:26:45 -04:00
Lincoln Stein
3ae8daedaa
Merge branch 'main' into i18n-build-mode 2023-03-29 22:26:17 -04:00
Lincoln Stein
e11c1d66ab handle multiple tokens and embeddings in single file 2023-03-29 22:05:06 -04:00