Commit Graph

726 Commits

Author SHA1 Message Date
cmdr2
a9f1000af8 Install button for TensorRT - displayed only if an NVIDIA gpu is active 2023-07-29 11:41:44 +05:30
cmdr2
ed84a23f36 Redo button for image filters, limit undo buffer size to 5 2023-07-29 10:07:41 +05:30
cmdr2
6e52680fa8 Fast in-place upscale and face fix buttons, with an option to undo the operations 2023-07-28 22:48:41 +05:30
cmdr2
e61549e0cd Mega refactor of the task processing and rendering logic; Split filter into a separate task, and add support for running filter tasks individually; Change the format for sending model and filter data from the API, but maintain backwards compatibility for now with the old API 2023-07-28 18:57:28 +05:30
JeLuF
7b5e2b4a12
Display Test Diffusers checkbox when enabling beta (#1430)
* Display Test Diffusers checkbox when enabling beta

* remove debug
2023-07-25 07:39:30 +05:30
cmdr2
357ab9596e formatting 2023-07-24 16:38:45 +05:30
cmdr2
c402867d45 Hide the samplers that won't be supported in the new diffusers version 2023-07-24 16:36:34 +05:30
cmdr2
eac0d49880
Merge branch 'beta' into mvemb 2023-07-18 09:11:19 +05:30
cmdr2
0ad97b8aa5
Merge pull request #1419 from JeLuF/embcollapse
Collapsibles for the embeddings dialog
2023-07-18 09:09:32 +05:30
JeLuF
fa2a929796 Help texts for common errors
- Using an Embedding on 'Low'
- Using LORAs and models with mismatching versions
2023-07-18 00:41:47 +02:00
JeLuF
7debd2cd97 Collapsibles for the embeddings dialog
Harmonization with the modifiers dialog
2023-07-18 00:08:38 +02:00
cmdr2
14c1d17632 Move the remove button to the left side of the lora, to increase the space for the model name 2023-07-16 15:46:24 +05:30
cmdr2
5bd98d4aa0 Revert "Fix for rabbit hole"
This reverts commit a7b427c5ff.
2023-07-16 15:17:46 +05:30
cmdr2
a7b427c5ff Fix for rabbit hole 2023-07-16 14:51:50 +05:30
JeLuF
de36489444 Merge beta 2023-07-16 11:16:58 +02:00
JeLuF
de6fec5fd7 Move embeddings and modifiers buttons 2023-07-16 11:00:45 +02:00
Olivia Godone-Maresca
08ff52235e Merge remote-tracking branch 'origin/beta' into restart-needed 2023-07-15 17:17:57 -04:00
cmdr2
ef1e42dd7b Add and remove buttons for arbitrary number of LoRA models 2023-07-16 02:12:42 +05:30
cmdr2
74e7c35885 Remove the buggy slider hover hide, prevents text selection from working correctly 2023-07-15 23:15:39 +05:30
Olivia Godone-Maresca
d61bc5958e Remove leading space 2023-07-15 13:24:14 -04:00
Olivia Godone-Maresca
3461bb669d Merge remote-tracking branch 'origin/beta' into restart-needed 2023-07-15 13:22:41 -04:00
cmdr2
0d610c5393 Remove the +/- 2 limit on lora strengths 2023-07-15 21:48:51 +05:30
cmdr2
f5b8044bad UI changes for multiple LoRA files 2023-07-15 19:33:49 +05:30
cmdr2
0139111d49 formatting 2023-07-15 16:35:48 +05:30
cmdr2
837ad5b68c
Merge pull request #1396 from JeLuF/dlgclose
Fix dialog closing when interacting with <select> child
2023-07-13 13:00:07 +05:30
JeLuF
ab52a95e45 Warn about low vram profile when using embeddings 2023-07-11 09:44:45 +02:00
Olivia Godone-Maresca
db55064bb2 Add Restart needed to diffusers-only fields if you enable diffusers then refresh without restarting EasyDiffusion 2023-07-09 16:54:25 -04:00
JeLuF
b4c3c4c650 Fix dialog closing when interacting with <select> child
https://discord.com/channels/1014774730907209781/1021695193499582494/1127653577360425042
'The.QCC: Embedding window. Switching between at end and at cursor closes the Embedding window'
2023-07-09 21:18:07 +02:00
cmdr2
09f747a68e
Merge pull request #1362 from JeLuF/textualinv
Basic embeddings support
2023-07-09 22:03:22 +05:30
cmdr2
37e8158175 Improve responsiveness of UI startup by not waiting for render threads to start up before showing the UI. Errors while starting the render thread will be logged anyway, so there's no need to block the main thread for this 2023-07-08 23:28:47 +05:30
JeLuF
c6c025353a
Merge branch 'beta' into textualinv 2023-07-07 22:50:12 +02:00
JeLuF
21946ff824
Update ui/media/js/main.js
Co-authored-by: rbertus2000 <91765399+rbertus2000@users.noreply.github.com>
2023-07-07 22:49:21 +02:00
cmdr2
2bd1cceb24 Potential fix for image modifiers plugin 2023-07-04 15:36:40 +05:30
cmdr2
82561268ea Fix for broken Rabbit Hole plugin 2023-07-04 14:59:50 +05:30
JeLuF
f9ff184b89 Keyboard shortcuts for the image editor 2023-07-02 20:35:10 +02:00
JeLuF
0118c7c808 Keyboard shortcuts for the image editor 2023-07-02 20:31:38 +02:00
JeLuF
d17ee88ced Merge branch 'beta' into picker 2023-07-02 18:40:20 +02:00
JeLuF
84574367b3 Hotkeys for img editor 2023-07-02 18:38:16 +02:00
JeLuF
2f9b492f5b Don't show copy button without clipboard access 2023-07-01 00:15:18 +02:00
JeLuF
0d9d01c9f5 backdrop and drag handlers 2023-06-30 23:28:24 +02:00
JeLuF
c6d6446606 Merge branch 'beta' into textualinv 2023-06-30 20:21:49 +02:00
JeLuF
fa6716345d hide embeddings UI if not test_diffusers 2023-06-30 20:17:46 +02:00
cmdr2
311ade1281
Merge pull request #1376 from JeLuF/dlg2
Download dialog redesign, moveable dialogs, code cleanup
2023-06-30 16:02:25 +05:30
JeLuF
f09c50ec90 Merge branch 'beta' into textualinv 2023-06-30 09:01:34 +02:00
JeLuF
75c57f646d embedding support popup 2023-06-30 08:41:15 +02:00
cmdr2
ec353ba90d Don't create thumbnail if preview is undefined (not just null) 2023-06-30 09:45:18 +05:30
JeLuF
6df9a38a65 Remove debug output 2023-06-28 22:17:09 +02:00
JeLuF
4c52dcb8a0 Make dialogs draggable 2023-06-28 22:12:32 +02:00
JeLuF
9c34d42a50 Download dialog redesign, code cleanup 2023-06-28 19:11:37 +02:00
AssassinJN
4b3de4c656
change event trigger to mousedown
This will fix an issue where the box is accidentally closed when attempting to quickly select text in the textarea.
2023-06-27 09:29:58 -04:00
JeLuF
4bbb4b5e1e Modifier settings dialog improvements
- Use <dialog> for the Modifier settings (solves z-order issues)
- Harmonize dialog design. Use similar header style for modifier settings and tiled image download dialogs
2023-06-27 00:00:27 +02:00
cmdr2
3a7281df3c Fix for prompt number calculation with empty or single-element set 2023-06-26 20:36:59 +05:30
cmdr2
417daa264f Temporarily comment out the plugin manager code, which seems to be conflicting with the plugin manager plugin 2023-06-26 20:07:15 +05:30
cmdr2
19b42c91c0 temporarily disable plugins tab 2023-06-26 17:17:28 +05:30
cmdr2
5867baea35
Merge branch 'beta' into plugin-manager 2023-06-26 16:41:43 +05:30
cmdr2
f6bd05bcf1
Link to ED-hosted community repo, to provide a stable and continuous home incase a community owner is no longer active 2023-06-26 16:35:31 +05:30
cmdr2
13056f87d3
Merge pull request #1342 from ManInDark/beta
Prevent UI freeze caused by intensive prompts
2023-06-26 16:25:18 +05:30
cmdr2
a72bae9cd2
Merge pull request #1355 from Hakorr/beta
Image Modifier UI Overhaul
2023-06-26 16:23:20 +05:30
cmdr2
f05b815c5d
Merge branch 'beta' into splash 2023-06-26 16:02:29 +05:30
cmdr2
881fdc58ec debug logging 2023-06-26 15:34:25 +05:30
JeLuF
65bb01892f
remove old code 2023-06-19 21:58:58 +02:00
JeLuF
5b35c47360 Fix saving of network settings 2023-06-19 21:50:56 +02:00
Hakorr
ac4651c241 Image Modifier UI Overhaul
Additionally also fixed body overflowing when on mobile. This is unrelated to the overhaul.
2023-06-19 17:24:31 +03:00
ManInDark
31a7e178a1
Applied changes suggested by @cmdr2 2023-06-14 16:59:30 +02:00
ManInDark
6ae4314b79
Incorporated proposal by @JeLuF in #1324 2023-06-13 16:09:54 +02:00
ManInDark
e213f6cb95
Added calculation as to how many images will be generated with given prompts. 2023-06-12 12:50:39 +02:00
cmdr2
924fee394a A better way to make gfpgan show up at the top 2023-06-08 16:09:11 +05:30
cmdr2
e349fb1a23 fix 2023-06-08 15:55:36 +05:30
cmdr2
4f799a2bf0 Use gfpgan as the default model for face restoration 2023-06-08 15:52:41 +05:30
cmdr2
d0184a1598 Allow changing the strength of the codeformer model (1 - fidelity); Improve the styling of the sub-settings 2023-06-06 16:16:21 +05:30
cmdr2
4b36ca75cb
Merge pull request #1313 from JeLuF/cloudflared
Share ED via Cloudflare's ArgoTunnel
2023-06-05 16:20:40 +05:30
cmdr2
f7c52b700e
Merge pull request #1328 from ogmaresca/negative-lora-strength
Allow LoRA strengths between -2 and 2
2023-06-05 16:18:28 +05:30
cmdr2
8a2c09c6de Fix for rabbit hole plugin 2023-06-05 09:00:50 +05:30
Olivia Godone-Maresca
401fc30617 Allow LoRA strengths between -2 and 2 2023-06-03 14:54:17 -04:00
cmdr2
0860e35d17 sdkit 1.0.101 - CodeFormer as an option to improve faces 2023-06-01 16:50:01 +05:30
cmdr2
16fcb4ed79
Merge pull request #1314 from JeLuF/dndgan
Fix GFPGAN settings import
2023-05-29 15:46:28 +05:30
cmdr2
40682405cc
Merge pull request #1309 from ogmaresca/add-tiling-to-metadata
Add tiling and latent upscaler steps to metadata
2023-05-28 17:33:00 +05:30
JeLuF
30dcc7477f Fix GFPGAN settings import
The word None which many txt metadata files contain as value for the GFPGAN field should not be considered to be a model name.
If the value is None, disable the checkbox
2023-05-28 01:43:58 +02:00
JeLuF
9ce076eb0d Copy address button 2023-05-28 01:18:39 +02:00
JeLuF
2080d6e27b Share ED via Cloudflare's ArgoTunnel
Shares the Easy Diffusion instance via https://try.cloudflare.com/
2023-05-28 00:50:23 +02:00
patriceac
6826435046
Fix restore task to UI flow
Fixes a regression introduced by https://github.com/cmdr2/stable-diffusion-ui/pull/1304
2023-05-27 00:26:25 -07:00
Olivia Godone-Maresca
69d937e0b1 Add tiling and latent upscaler steps to metadata
Also fix txt metadata labels when also embedding metadata
2023-05-26 19:51:30 -04:00
cmdr2
0990d8fc4d
Merge pull request #1304 from JeLuF/dndfix
Remove warning when reusing settings - Fixes #1290
2023-05-26 15:24:56 +05:30
JeLuF
d818107953 Remove warning when reusing settings - Fixes #1290 2023-05-25 13:36:45 +02:00
cmdr2
59c322dc3b Show seamless tiling only in diffusers mode 2023-05-25 15:41:41 +05:30
cmdr2
090f8f6070
Merge pull request #1300 from JeLuF/tile
Add seamless tiling support
2023-05-25 15:38:15 +05:30
patriceac
99c99ee9e3 Plugin Manager
An easy-to-use UI plugin manager. Pulls plugins from multiple repos, installs and updates plugins seamlessly, gives precedence to locally installed plugins (based on file names). Hope this one works for you.

If you want to test-drive it before merging, you can download the below as a plugin here: https://github.com/patriceac/Easy-Diffusion-Plugins/blob/main/plugin-manager.plugin.js

The URLs at the top of plugins.js might need to be updated.
2023-05-25 00:31:17 -07:00
JeLuF
17e731dfe3
Merge branch 'beta' into splash 2023-05-25 00:30:47 +02:00
JeLuF
9dfa300083 Add seamless tiling support 2023-05-25 00:16:14 +02:00
JeLuF
3ea74af76d Fix confirmation dialog
By splitting the confirmation function into two halves, the closure was lost
2023-05-24 19:29:54 +02:00
cmdr2
db265309a5 Show an explanation for why the CPU toggle is disabled; utility class for alert() and confirm() that matches the ED theme; code formatting 2023-05-24 16:24:29 +05:30
cmdr2
f641e6e69d Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-05-24 15:40:26 +05:30
cmdr2
30c07eab6b Cleaner reporting of errors in the UI; Suggest increasing the page size if that's the error 2023-05-24 15:30:55 +05:30
cmdr2
eba83386c1
make a note about a flood fill library 2023-05-24 10:08:00 +05:30
cmdr2
2bab4341a3 Add 'Latent Upscaler' as an option in the upscaling dropdown 2023-05-23 16:53:53 +05:30
cmdr2
a84d29c49c
Merge pull request #1286 from JeLuF/vramsetting
Automatically use 'Low' when VRAM<4.5GB
2023-05-22 16:10:43 +05:30
JeLuF
7d936c72a4
Merge branch 'beta' into splash 2023-05-21 21:02:06 +02:00
JeLuF
cac4bd11d2 Network settings - Fix typo.
The 'Please restart' text should be part of the note, not the label
2023-05-21 17:59:06 +02:00
JeLuF
70a3beeaa2 Automatically use 'Low' when VRAM<4.5GB 2023-05-21 17:42:47 +02:00
Olivia Godone-Maresca
a6dbdf664b Add Clip Skip to metadata files
Also, force the properties to be in a consistent order so that, for example, LoRA strength will always be the line below LoRA model. I've rearranged the properties so that they are saved in the same order that the properties are laid out in the UI
2023-05-19 19:05:32 -04:00
cmdr2
4349c595b8
Merge branch 'beta' into ddpm_deis_samplers 2023-05-19 18:21:03 +05:30
JeLuF
00603ce124 Add Clip Skip support 2023-05-18 13:55:45 +02:00
Olivia Godone-Maresca
9d408a62bf Add DDPM and DEIS samplers for diffusers
These new samplers will be hidden when diffusers is disabled.
Also, samplers that aren't implemented in diffusers yet will be disabled when using diffusers
2023-05-17 21:13:06 -04:00
cmdr2
ca362ef78d
Merge pull request #1248 from patriceac/patch-1
Fix restoration of inactive image modifiers
2023-05-08 16:19:39 +05:30
cmdr2
a255d74abf
Merge pull request #1250 from ogmaresca/allow-dragging-image-modal
Allow grabbing the image to scroll zoomed in images
2023-05-08 16:19:18 +05:30
Olivia Godone-Maresca
fec2140896 Allow grabbing the image to scroll zoomed in images 2023-05-04 19:36:10 -04:00
patriceac
3f9ec378a0
Fix restoration of inactive image modifiers 2023-05-04 09:16:19 -07:00
JeLuF
06c990e94d Default value for hypernetworkStrength
Don't fail when the Hypernetwork Strength text input field is empty
2023-05-04 00:05:11 +02:00
patriceac
679b828cf5
Toast notification support (#1228)
* Toast notifications for ED

Adding support for toast notifications for use in Core and user plugins.

* Revert "Toast notifications for ED"

This reverts commit dde51c0cef.

* Toast notifications for ED

Adding support for toast notifications for use in Core and user plugins.
2023-05-02 16:00:16 +05:30
JeLuF
d231c533ae
"Please restart" note for network settings (#1233)
* "Please restart" note for network changes

https://discord.com/channels/1014774730907209781/1101629831839494344

* typo
2023-05-02 15:59:02 +05:30
cmdr2
469585ddda Use ES5 style trailing commas, to avoid unnecessary lines during code diffs 2023-04-28 15:50:44 +05:30
cmdr2
3000e53cc0 Show suggestions for handling system RAM exhaustion 2023-04-28 15:38:52 +05:30
Lucas Marcelli
aad1afb70e add prettier for JS style 2023-04-27 13:56:56 -04:00
cmdr2
fb18c93bd6 Suppress debug log 2023-04-26 16:25:02 +05:30
cmdr2
382dee1fd1
Merge pull request #1116 from ogmaresca/createTab-utility-function
Add a utility function to create tabs with lazy loading functionality
2023-04-26 16:21:51 +05:30
JeLuF
991f9cda42 Add splash screen for testDiffusers users
The splash screen will only be shown once.

The splash screen version number can be used to roll out a new splash screen, which will also be shown only once.

Clicking on the EasyAndroidLady icon shows the splash screen again.
2023-04-22 11:42:42 +02:00
cmdr2
514e40569e
Merge pull request #1138 from patriceac/patch-65
Properly reset LoRA selection from Use Settings
2023-04-10 10:54:12 +05:30
patriceac
9ee38d0b70
Fix the styling of disabled image modifiers
Long custom modifiers in a disabled state (e.g. right-click on the image tag) are properly restored as disabled but are incorrectly shown as "active" in the UI. I somehow missed that in https://github.com/cmdr2/stable-diffusion-ui/pull/1062, so here is the fix for that. This change only applies to plugins that try to restore image modifiers, no change to the regular UI.
2023-04-09 18:38:36 -07:00
patriceac
4f2df2d188
Properly reset LoRA selection from Use Settings 2023-04-08 18:19:03 -07:00
cmdr2
0f4b62cb97 Hotfix - apply the config overrides to the Settings UI *after* the default config-apply function, not before it 2023-04-08 20:13:44 +05:30
JeLuF
9e244f758c Don't paste empty prompts
When pasting e.g. an image, window.clipboardData).getData('text') returns an empty string, which would delete the prompt.
https://discord.com/channels/1014774730907209781/1093186485563424838
2023-04-07 22:24:35 +02:00
Olivia Godone-Maresca
9c091a9edf Fix JSDoc 2023-04-06 16:37:17 -04:00
Olivia Godone-Maresca
60ca5641ae Merge remote-tracking branch 'origin/beta' into createTab-utility-function 2023-04-06 16:36:25 -04:00
cmdr2
0778078350
Merge pull request #1087 from ogmaresca/custom-folder-filename-formats-2
Allow loading/saving app.config from plugins and support custom folder/filename formats from app.config
2023-04-06 16:19:59 +05:30
cmdr2
888dc05cde
Merge pull request #1107 from ogmaresca/save-lora-strength-in-metadata
Add LoRA Strength to metadata files
2023-04-06 15:47:23 +05:30
patriceac
687da5b64a
Undo UI cleanup (#1106)
* Moving to InvokeAI attention weighting syntax

* Fix restoration of disabled image tags

Fix the restoration inactive image tags.

* Undo feature UX cleanup

Just show the undo button when there's no task for a more consistent UI.

* cleanup code

* Revert "cleanup code"

This reverts commit 03199c5a4f.

* Update image-modifiers.js

* Update image-modifiers.js
2023-04-06 15:42:48 +05:30
cmdr2
5b00d54c76
Merge pull request #1108 from ogmaresca/increase-random-seed-range
Increase the random seed range
2023-04-06 15:39:43 +05:30
cmdr2
38b4a7856e
Merge pull request #1109 from patriceac/patch-64
Reset the LoRA dropdown if not present in the task
2023-04-06 15:39:16 +05:30
cmdr2
7f80f7c46b
Merge pull request #1117 from ogmaresca/allow-switching-between-previewed-images
Add back/forward buttons to switch between images in tasks
2023-04-06 15:28:38 +05:30
cmdr2
84737eb271 Disable LoRA in the main branch 2023-04-04 16:14:07 +05:30
cmdr2
73d947c4a6 Don't show LoRA options in the main branch 2023-04-04 16:10:16 +05:30
Olivia Godone-Maresca
88d415d3f9 Add back/forward buttons to switch between images in tasks 2023-04-03 19:35:37 -04:00
Olivia Godone-Maresca
3fc93e2c57 Add a utility function to create tabs with lazy loading functionality 2023-04-03 17:39:34 -04:00
patriceac
6aa048e3ad
Reset the LoRA dropdown if not present in the task 2023-04-02 02:04:03 -07:00
Olivia Godone-Maresca
bc711414a8 Increase the random seed range 2023-04-01 21:26:32 -04:00
Olivia Godone-Maresca
07b467e4bc Add LoRA Strength to metadata files 2023-04-01 11:42:20 -04:00
cmdr2
75445185c4 Hide the slider if lora is none 2023-04-01 17:01:52 +05:30
cmdr2
7772b6901a Hide lora slider if not enabled 2023-04-01 16:44:36 +05:30
cmdr2
fad36d9c08 Don't show or allow test_diffusers if not using the beta branch. This allows allow features to release to the main branch, while restricting diffusers to the beta branch 2023-04-01 16:42:06 +05:30
cmdr2
061e012cff Revert "Remove Ctrl+Z for undoing task removals until the conflict with other listeners for Ctrl+Z can be figured out"
This reverts commit 8f877a2cee.
2023-04-01 16:09:51 +05:30
cmdr2
a03164f3bc Slider to control LoRA strength 2023-04-01 16:08:14 +05:30
patriceac
1429a44f0e
Align source code formatting 2023-04-01 00:00:19 -07:00
patriceac
0b5c5b646f
Correct fix for Ctrl+Z shortcut in image editor 2023-03-31 22:50:36 -07:00
Olivia Godone-Maresca
afc18619db Remove console.log 2023-03-31 17:26:16 -04:00
patriceac
5dd3f46cee
Fix key presses in the image editor
https://discord.com/channels/1014774730907209781/1021695193499582494/1090733238034645082
2023-03-31 00:02:44 -07:00
cmdr2
11138a1d97 Don't include LoRA in the task info if not used 2023-03-30 19:08:10 +05:30
cmdr2
aea49bf739
Merge pull request #1085 from lucasmarcelli/beta
reworked how task config is setup
2023-03-30 19:06:25 +05:30
cmdr2
8f877a2cee Remove Ctrl+Z for undoing task removals until the conflict with other listeners for Ctrl+Z can be figured out 2023-03-30 18:44:21 +05:30
cmdr2
dc4344043e
Merge pull request #1079 from JeLuF/toggle
Don't show lossless WEBP toggle for JPEG on first load
2023-03-30 18:11:09 +05:30
Olivia Godone-Maresca
7e53eb658c Allow loading/saving app.config from plugins and support custom folder/filename formats from app.config 2023-03-29 20:56:24 -04:00