Commit Graph

1712 Commits

Author SHA1 Message Date
cmdr2
5a643c383b Verify a newly written config file before setting that as the actual config file. Helps prevent a corrupted write from overwriting the config file 2023-06-30 13:22:23 +05:30
cmdr2
8618708fd1 Try closing the config file explicitly, to avoid null byte errors 2023-06-30 12:39:36 +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
45f99ab48a Include comments in config.yaml even when converting from config.json 2023-06-30 11:53:38 +05:30
cmdr2
26042b1e26 Don't use YAML as a singleton, seems to be stateful; Use ruamel in get_config for consistency 2023-06-30 10:37:25 +05:30
cmdr2
ec353ba90d Don't create thumbnail if preview is undefined (not just null) 2023-06-30 09:45:18 +05:30
cmdr2
084ef5a28c Formatting 2023-06-30 09:44:44 +05:30
cmdr2
81a24249e6 Force move the old config.json to .bak, even if one exists. This is required for recovering from inconsistent states 2023-06-30 09:44:23 +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
7306ac0168 Merge branch 'beta' into textualinv 2023-06-28 19:55:25 +02:00
JeLuF
9c34d42a50 Download dialog redesign, code cleanup 2023-06-28 19:11:37 +02:00
cmdr2
fdc6a4d94b Shrink the vertical height of modifiers subheader, unnecessary space 2023-06-28 16:52:36 +05:30
cmdr2
7adf25ef97 Fix #1372 - disable pull-to-refresh on mobile browsers 2023-06-28 09:52:14 +05:30
cmdr2
837069648f Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-06-28 09:36:48 +05:30
cmdr2
1286e2d03c Allow dropping images from folders 2023-06-28 09:36:37 +05:30
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
cmdr2
d6b996b28e Move thumbnail settings to the Image Modifiers panel, instead of the settings 2023-06-27 17:50:41 +05:30
cmdr2
3081a20bd0 Fix panel header for Rabbit Hole plugin 2023-06-27 17:37:30 +05:30
cmdr2
fda30b1ecd Use Patrice's Image Editor improvements plugin as a core plugin 2023-06-27 17:26:07 +05:30
cmdr2
74aa1a9db1 Image Modifiers popup shouldn't break the scrolling panes plugin 2023-06-27 17:06:49 +05:30
cmdr2
1f9a429a62 Fix Image Settings header margin 2023-06-27 16:13:07 +05:30
cmdr2
dbf9482303
Merge pull request #1368 from JeLuF/modifdlg
Modifier settings dialog improvements
2023-06-27 16:08:18 +05:30
JeLuF
2e4807312a move (some) hardcoded colors to variables 2023-06-27 00:31:48 +02: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
800f275e91 Fix for plugin: make-image-button-always-visible.plugin.js 2023-06-26 20:30:57 +05:30
cmdr2
ae930f3993 note about modifiers placement 2023-06-26 20:23:27 +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
aa53b868fc Temporarily disable plugins manager until the runtime error is figured out 2023-06-26 17:08:46 +05:30
cmdr2
ab0d08b7a3 debug log 2023-06-26 17:08:28 +05:30
cmdr2
de0b082810
Merge pull request #890 from JeLuF/yaml
Use yaml instead of json for the config file
2023-06-26 17:01:28 +05:30
cmdr2
bce0373b11 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-06-26 16:58:17 +05:30
cmdr2
95768cdb05 Bump version 2023-06-26 16:57:51 +05:30
cmdr2
af7073d9b6
Merge branch 'beta' into yaml 2023-06-26 16:57:35 +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
df416a6a17 link 2023-06-26 16:11:10 +05:30
cmdr2
848ff35e85
Update index.html 2023-06-26 16:04:18 +05:30
cmdr2
f05b815c5d
Merge branch 'beta' into splash 2023-06-26 16:02:29 +05:30
cmdr2
e1e2a2a249
Update index.html 2023-06-26 16:00:55 +05:30
cmdr2
881fdc58ec debug logging 2023-06-26 15:34:25 +05:30
JeLuF
3dc62a8857 Basic embeddings support 2023-06-22 23:48:55 +02:00
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
ed59972b03
Changed all links as mentioned in #1339 2023-06-14 11:57:06 +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
5398765fd7 Tighten the image editor (to reduce unnecessary empty space and reduce mouse travel) - Thanks @fdwr - #1307 2023-06-08 15:21:16 +05:30
cmdr2
267c7b85ea Use only realesrgan_x4 (not anime) for upscaling in codeformer 2023-06-07 16:37:44 +05:30
cmdr2
e23f66a697 Fix #1333 - listen_port isn't always present in the config file 2023-06-07 15:45:21 +05:30
cmdr2
9486c03a89 Don't use the default SD model (if the desired model was not found), unless the UI is starting up 2023-06-06 17:10:38 +05:30
cmdr2
c09512bf12 dead code 2023-06-06 16:57:25 +05:30
cmdr2
05c2de9450 Fail with an error if the desired model (non-Stable Diffusion) wasn't found 2023-06-06 16:56:37 +05:30
cmdr2
6ae5cb28cf Set the default codeformer strength to 0.5 2023-06-06 16:37:17 +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
047390873c changelog; show labels next to the lora strength slider 2023-06-05 16:53:18 +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
c81d98ad0f
Merge pull request #1325 from JeLuF/tildl
Tiled image download plugin
2023-06-05 16:17:23 +05:30
cmdr2
c72b287c82 Show a more helpful error message in the logs when the system runs out of RAM 2023-06-05 15:22:37 +05:30
cmdr2
a10aa92634 Fix a bug where the realesrgan model would get unloaded after the first request in a batch while using Codeformer with upscaling of faces 2023-06-05 15:08:57 +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
6ca7247c02 Enable face upscaling by default 2023-06-03 10:11:03 +05:30
cmdr2
1d5309decb changelog 2023-06-03 10:04:06 +05:30
JeLuF
6dcf7539bb close window 2023-06-03 00:04:13 +02:00
JeLuF
51d52d3a07 Tiled image download plugin 2023-06-02 23:41:53 +02:00
cmdr2
dd95df8f02 Refactor the default model download code, remove check_models.py, don't check in legacy paths since that's already migrated during initialization; Download CodeFormer's model only when it's used for the first time 2023-06-02 16:34:29 +05:30
cmdr2
0860e35d17 sdkit 1.0.101 - CodeFormer as an option to improve faces 2023-06-01 16:50:01 +05:30
cmdr2
3e90eafafb
Merge branch 'cf' into beta 2023-06-01 15:27:37 +05:30
cmdr2
16fcb4ed79
Merge pull request #1314 from JeLuF/dndgan
Fix GFPGAN settings import
2023-05-29 15:46:28 +05:30
Olivia Godone-Maresca
7830ec7ca2 Fix SyntaxWarning on startup
Fixes
```
/ssd2/easydiffusion/ui/easydiffusion/utils/save_utils.py:222: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if task_data.use_upscale is not "latent_upscaler" and "latent_upscaler_steps" in metadata:
  ```
2023-05-28 14:39:36 -04:00
cmdr2
0ebf9df207
Merge pull request #1316 from JeLuF/fix1312
Fix #1312 - invert model A and B ratio in merge
2023-05-28 17:33:26 +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
7202ffba6e Fix #1312 - invert model A and B ratio in merge 2023-05-28 02:36:56 +02:00
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
edd92b724f
UniPC TU 2 isn't working with diffusers either 2023-05-26 19:47:00 +05:30
cmdr2
0990d8fc4d
Merge pull request #1304 from JeLuF/dndfix
Remove warning when reusing settings - Fixes #1290
2023-05-26 15:24:56 +05:30
cmdr2
1da35e89f6
Capitalization 2023-05-25 18:38:40 +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
096f9ad3a6 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-05-25 15:39:02 +05:30
cmdr2
5c8965b3ab changelog 2023-05-25 15:38:49 +05:30
cmdr2
090f8f6070
Merge pull request #1300 from JeLuF/tile
Add seamless tiling support
2023-05-25 15:38:15 +05:30
patriceac
3a059bb919 Revert "Support for CodeFormer"
This reverts commit a25364732b.
2023-05-25 00:32:57 -07:00
patriceac
a548c026b1 Revert "Fix face restoration model selection"
This reverts commit a5a1d33589.
2023-05-25 00:32:48 -07:00
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
8554b0eab2 Better reporting of model load errors - sends the report to the browser UI during the next image rendering task 2023-05-24 16:02:53 +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
d3334f9dfa Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-05-23 16:55:52 +05:30
cmdr2
a87dca1ef4 changelog 2023-05-23 16:55:42 +05:30
cmdr2
2bab4341a3 Add 'Latent Upscaler' as an option in the upscaling dropdown 2023-05-23 16:53:53 +05:30
cmdr2
01fb2fde47
Merge pull request #1293 from JeLuF/edready
Add 'ED is ready, go to localhost:9000' msg to log
2023-05-23 15:15:08 +05:30
JeLuF
0127714929 Add 'ED is ready, go to localhost:9000' msg to log
Sometimes the browser window does not open (esp. on Linux and Mac).
Show a prominent message to the log so that users don't wait for hours.
2023-05-22 21:19:31 +02:00
cmdr2
a84d29c49c
Merge pull request #1286 from JeLuF/vramsetting
Automatically use 'Low' when VRAM<4.5GB
2023-05-22 16:10:43 +05:30
patriceac
a5a1d33589
Fix face restoration model selection 2023-05-21 18:32:48 -07:00
JeLuF
cca6dd9230 2.5.37 updates 2023-05-21 21:30:29 +02:00
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
cmdr2
da27fc7782
Merge pull request #1278 from JeLuF/clipskip
Add Clip Skip support
2023-05-19 18:19:45 +05:30
cmdr2
11e1436e2e 2 GB cards aren't exactly 2 GB 2023-05-19 17:56:20 +05:30
cmdr2
83557d4b3c Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-05-19 17:29:20 +05:30
cmdr2
b08e9b7982 changelog 2023-05-19 17:29:10 +05:30
cmdr2
53b23756a4 formatting 2023-05-19 17:26:04 +05:30
cmdr2
063d14d2ac Allow GPUs with less than 2 GB, instead of restricting to 3 GB 2023-05-19 17:25:53 +05:30
JeLuF
00603ce124 Add Clip Skip support 2023-05-18 13:55:45 +02:00
Olivia Godone-Maresca
d3dd15eb63 Fix unipc_tu 2023-05-17 21:44:28 -04: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
patriceac
a25364732b Support for CodeFormer
Depends on https://github.com/easydiffusion/sdkit/pull/34.
2023-05-17 02:04:20 -07:00
patriceac
9410879b73
Fix error when removing image
Error report: https://discord.com/channels/1014774730907209781/1085803885500825600/1108150298289115187
2023-05-16 17:43:14 -07:00
JeLuF
366bc72759
Add GTX1630 to list of FP32 GPUs
https://discord.com/channels/1014774730907209781/1014774732018683926/1107677076233912340
2023-05-15 17:01:21 +02:00
cmdr2
ca19a488a8 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-05-10 20:21:09 +05:30
cmdr2
08f44472f8 changelog 2023-05-10 20:20:59 +05:30
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
cmdr2
cbd74e7510 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-05-04 10:12:15 +05:30
cmdr2
8e416cef25 Disable self test link 2023-05-04 10:12:06 +05:30
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
cmdr2
01c7712961 Increase task timeout from 15 mins to 30 mins 2023-05-03 18:47:09 +05:30
cmdr2
5c95bcc65d changelog 2023-05-03 16:13:57 +05:30
cmdr2
75f0780bd1 sdkit 1.0.84 - VRAM optimizations for the diffusers version 2023-05-03 16:12:11 +05:30
cmdr2
33a49a57e6 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-05-02 18:26:38 +05:30
cmdr2
eaba64a64a Log device usage stats during thread startup 2023-05-02 18:26:29 +05:30
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