patriceac
64bf4356b4
Update save_utils.py
2023-01-24 01:48:16 -08:00
patriceac
8d4d409cd6
Add 'embed' and 'none' to metadata saving options
...
*** Please merge https://github.com/easydiffusion/sdkit/pull/9 before merging this one. ***
This is the ED client part of metadata embedding. It adds 'embed' and 'none' options to the metadata setting and makes none the default (if never set before) because (1) it feels weird to create metadata files by default and (2) embedding by default could cause be problematic if users don't realize it's happening.
Also fixes the disabling of the dropdown in the settings when Save images to disk is toggled off.
2023-01-24 01:47:48 -08:00
patriceac
dd4937178f
Fix the tooltip display over image modifier cards
2023-01-24 01:37:37 -08:00
cmdr2
5d3fb9091a
Reduce the VRAM usage for balanced mode, without sacrificing the rendering speed
2023-01-23 19:36:00 +05:30
JeLuF
b044bc1791
Support multiple GFPGAN models
...
Add scanning for models and a dropdown to choose different models from
2023-01-19 20:49:54 +01:00
cmdr2
e2ae2715a3
Revert "Revert "Don't set the specific vram optimizations to use, instead use the new sdkit API for setting the vram usage level directly""
...
This reverts commit 52458ae273
.
2023-01-18 17:03:14 +05:30
cmdr2
52458ae273
Revert "Don't set the specific vram optimizations to use, instead use the new sdkit API for setting the vram usage level directly"
...
This reverts commit 42f9abdfe3
.
2023-01-18 10:30:56 +05:30
cmdr2
9b1a9cc7c8
changelog
2023-01-17 21:34:41 +05:30
cmdr2
42f9abdfe3
Don't set the specific vram optimizations to use, instead use the new sdkit API for setting the vram usage level directly
2023-01-17 21:33:15 +05:30
patriceac
66d311258a
Fix card names and toggling
...
Fix names and toggling for cards starting with "By ", e.g. "By the ocean".
2023-01-16 23:56:44 -08:00
cmdr2
0a1197055c
changelog
2023-01-16 18:32:09 +05:30
cmdr2
649cbf07e3
Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta
2023-01-16 18:30:46 +05:30
cmdr2
5089ac5ad1
Fix a bug where the .vae.pt extension wouldn't get picked up. Thanks Madrang, rbertus2000 and JeLuf
2023-01-16 18:30:22 +05:30
patriceac
3d5133209b
Group image containers (DOM tweak)
...
Move image containers in their own container to create a clear delineation in the DOM. Purely DOM structural adjustment meant to make a sticky footer possible in the preview pane (for plugins).
2023-01-15 23:34:56 -08:00
JeLuF
b5d1912c94
Add NVIDIA T1200 to the list of FP GPUs
...
Fixes https://discord.com/channels/1014774730907209781/1014774732018683926/1064269949339697163
2023-01-16 00:42:02 +01:00
patriceac
a8fba8f3fb
Fix restoration of models with subfolders
...
In dnd.js, when models are restored in the UI, there is code that strips the path from the model file name. Now that we allow models to be hosted in subfolders, this code break the task restoration (e.g. use settings, D&D, copy/paste) because "/my models/model.ckpt" becomes "model.ckpt", which won't be found.
https://discord.com/channels/1014774730907209781/1014780368890630164/1063726724573052948
2023-01-14 23:54:09 -08:00
JeLuF
9d9fc1683a
Fix number on the "Make X images" button
...
With this change, the number of prompt variants is taken into account when computing the number of images that will be generated.
X = getPrompts().length * numOutputsTotalField.value
2023-01-13 22:05:25 +01:00
rbertus2000
152aa7de09
bugfix for FP GPUs
2023-01-13 12:54:11 +01:00
JeLuF
7302927e4c
Add NVIDIA T550 to list of FP GPUs #755
...
The Nvidia T550 needs full precision to work correctly.
2023-01-12 14:16:35 +01:00
patriceac
bb47835256
Another fix for high res images
...
This time to address the height.
2023-01-11 17:25:54 -08:00
cmdr2
037512ca5c
Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta
2023-01-11 18:25:16 +05:30
cmdr2
a13713adaf
Don't search for a yaml config file next to the model, since sdkit now does this automatically
2023-01-11 18:23:56 +05:30
patriceac
d24a7a5c5e
Fix the restoring of the last selected model
2023-01-10 19:00:19 -08:00
JeLuF
192fd223b4
use config.json instead of config.bat
2023-01-10 23:40:35 +01:00
JeLuF
a671dd8e00
Fix import, remove debug output
2023-01-10 20:34:17 +01:00
cmdr2
aa576e68e3
Bring back the default opacity of 0.4 for inpainting mask, even though it leads to some other bugs. It's not a good UX to have an inpainting mask with full opacity
2023-01-10 21:56:26 +05:30
cmdr2
ad5508a14d
Fix typo
2023-01-10 21:54:31 +05:30
cmdr2
4fafc8aa67
Merge pull request #685 from mdiller/mdiller_bugfixes
...
Mdiller bugfixes
2023-01-10 21:44:40 +05:30
cmdr2
0aab3d0f12
Merge pull request #744 from AssassinJN/patch-2
...
return taskEntry.id on createTask
2023-01-10 21:41:56 +05:30
cmdr2
a5d88bdfcc
changelog
2023-01-10 21:09:08 +05:30
cmdr2
5173957368
Minor refactor of save file
2023-01-10 20:13:39 +05:30
cmdr2
9ea51b174a
Merge branch 'beta' into sync-fn
2023-01-10 20:06:58 +05:30
cmdr2
80e265e547
Merge pull request #746 from JeLuF/modelload
...
Don't crash on unsupported models
2023-01-10 20:01:24 +05:30
cmdr2
c3e6e63023
Merge pull request #754 from patriceac/patch-15
...
Fix display of very large images
2023-01-10 20:00:00 +05:30
cmdr2
9b5a262d63
Merge pull request #758 from patriceac/patch-16
...
Fix image editor display
2023-01-10 19:56:18 +05:30
cmdr2
1309f1480c
Tabs to spaces
2023-01-10 19:48:36 +05:30
cmdr2
12ba5b8096
Merge pull request #753 from JeLuF/modeldir
...
Recursive scanning for models
2023-01-10 19:29:27 +05:30
cmdr2
156c5f4792
Fix incorrect seeds returned when no filters were applied. Fixes https://github.com/cmdr2/stable-diffusion-ui/pull/748
2023-01-10 19:23:17 +05:30
cmdr2
1da4b3d94a
Not all browsers return the PerformanceEntry object on performance.measure(). Fix credit @JeLuf
2023-01-10 10:01:24 +05:30
patriceac
18aca98e41
Fix image editor display
...
Fix for the cut off controls
2023-01-09 09:29:31 -08:00
JeLuF
a88afb0956
Add paths to the value field
2023-01-09 18:24:04 +01:00
patriceac
bfa1f57930
Fix rendering of very large images
...
See comments for screenshots.
2023-01-09 09:21:16 -08:00
cmdr2
3ed4d792b3
Check whether the browser supports performance.measure/mark before calling them. Fixes https://github.com/cmdr2/stable-diffusion-ui/pull/757
2023-01-09 19:41:10 +05:30
cmdr2
fb0c9405cf
changelog
2023-01-09 19:40:17 +05:30
cmdr2
a17a9044ad
Check whether the browser supports performance.measure/mark before calling them. Fixes https://github.com/cmdr2/stable-diffusion-ui/pull/757
2023-01-09 19:33:23 +05:30
cmdr2
73af7f5481
Use a boolean .includes() instead of a regex match() for checking string contains
2023-01-09 19:19:30 +05:30
cmdr2
57ead7f0c0
Merge pull request #752 from patriceac/patch-14
...
Fix parsing of text file tasks
2023-01-09 19:16:36 +05:30
cmdr2
40f806efa8
Merge pull request #742 from JeLuF/noise
...
Prevent flooding the log with warnings for GPU<3GB
2023-01-09 18:47:20 +05:30
cmdr2
226ba8b06e
Bump version
2023-01-09 18:39:24 +05:30
cmdr2
b11aa4833d
Merge pull request #724 from patriceac/img2img-settings-restoration
...
Img2img settings restoration
2023-01-09 18:36:32 +05:30
patriceac
8d9cd0e30b
Fix display of very large images
2023-01-07 15:04:07 -08:00
JeLuF
9532928998
Recursive scanning for models
2023-01-07 19:04:15 +01:00
patriceac
420f7549a2
Fix parsing of text file tasks
...
parseContent(text) doesn't check the text content being passed actually described a task, which causes some corner case scenarios to break (image task settings are incorrectly cleared because an empty image task is created).
2023-01-07 00:47:30 -08:00
JeLuF
ed64b9bfed
Don't crash on unsupported models
2023-01-06 01:41:55 +01:00
JeLuF
5d5ebfdef6
Synchronize .img and .txt autosave file names
2023-01-04 16:51:18 +01:00
AssassinJN
567c02bf5d
return taskEntry.id on createTask
...
I would like to have createTask return the taskEntry.id in order to allow for watchers or callbacks to be able to reference tasks by id more easily.
2023-01-04 10:04:52 -05:00
JeLuF
60f7c73c8a
prevent flooding the log with warnings for GPU<3GB
2023-01-04 02:45:51 +01:00
JeLuF
ac4c5003f1
also empty VAE and hypernetwork fields
2023-01-03 08:23:42 +01:00
JeLuF
d5e76e662f
Enforce a autosave directory
2022-12-30 21:05:25 +01:00
JeLuF
23d5f85d17
Frontend batch merger
2022-12-30 10:13:34 +01:00
Malcolm Diller
f75adc1e22
added fill tool and updated as requested in pull request
2022-12-30 01:07:46 -08:00
JeLuF
15a1436c8b
Backend side merge API
2022-12-30 10:07:23 +01:00
patriceac
813edec808
Removing one more unnecessary custom event
2022-12-29 09:43:12 -08:00
patriceac
21e3299b7a
Applying changes from latest CR
...
- Replaced custom event with load event
- Removed the custom event dispatch
2022-12-29 09:26:32 -08:00
patriceac
f7193966fb
Addressing Cmdr2's comments and more
...
Only triggers events when there actually was a state change. Also opportunistically removed the hardcoded delay in favor of an even-driven flow, which makes the whole thing more robust and much more reactive.
2022-12-29 01:16:44 -08:00
patriceac
58c7f3ba15
ESC keyboard shortcut to close the image editor
2022-12-28 23:50:56 -08:00
cmdr2
64ced3b3f6
Tag v2.4.23, to be able to revert back incase of an emergency
2022-12-29 13:04:44 +05:30
cmdr2
b86617e3af
Merge pull request #720 from patriceac/restore-inactive-modifiers
...
Proper restoration of inactive image modifiers
2022-12-29 10:28:28 +05:30
cmdr2
f9b9ecf754
Merge branch 'beta' into patch-8
2022-12-29 10:26:48 +05:30
cmdr2
af43a92a2f
Merge pull request #725 from patriceac/patch-9
...
Limit the size of zoomed-in source images
2022-12-29 10:18:17 +05:30
cmdr2
4dbdc642f9
Merge pull request #726 from patriceac/patch-10
...
Persist the processing order toggle across sessions
2022-12-29 10:17:24 +05:30
cmdr2
5149040496
Merge pull request #727 from patriceac/patch-11
...
Restore the original prompt if provided
2022-12-29 10:15:22 +05:30
cmdr2
5b1078e0db
Merge pull request #719 from patriceac/fix-duplicate-image
...
Fix for duplicate images
2022-12-29 10:13:51 +05:30
patriceac
ae31813239
Restore the original prompt if provided
...
Restore the original prompt if provided... including if it's empty now that empty prompts are allowed if there are modifiers.
2022-12-28 18:52:18 -08:00
patriceac
f6b3cde286
Persist the process order toggle across sessions
...
🤷
2022-12-28 17:50:18 -08:00
patriceac
0f05f9c32c
Limit the size of zoomed-in source images
...
If the source image has a high enough resolution it won't fit on the screen when hovering over it. This simple fix limits the max size so the user always has a chance to see the full image.
2022-12-28 17:30:59 -08:00
patriceac
89170af721
Proper source image unloading
2022-12-28 17:00:38 -08:00
patriceac
5fddae589b
Reverting duplicate hypernetwork fix
2022-12-28 16:54:36 -08:00
patriceac
19c16af5fa
Fix img2img task restoration
...
Fix source image, mask, and color profile restoration for use settings, copy/paste, and d&d.
2022-12-28 16:43:35 -08:00
patriceac
019f8f69f4
Fix restoration of hypernetwork dropdown
...
Fix for https://discord.com/channels/1014774730907209781/1014774732018683928/1055508538228748368
2022-12-28 15:55:59 -08:00
patriceac
ad8d1f77df
Proper restoration of inactive image modifiers
...
Inactive image modifiers (right click on image tag) are not properly restored by Use Settings and Copy/Paste settings. This PR fixes that.
2022-12-28 13:41:36 -08:00
patriceac
e82a8a7f3d
Fix for duplicate images
...
When eye correction, upscaling, and only show filtered image are ALL disabled, the UI still generates two of the same image, and increments the second's seed by 1 (although it's the same image). It doesn't perform an additional process, but the item is shown twice.
2022-12-28 12:06:36 -08:00
cmdr2
083390da83
Fix a bug where the task and req data needed to print with a backslash
2022-12-28 19:23:36 +05:30
cmdr2
dc6d48580b
Merge pull request #715 from jsuelwald/beta
...
Convert [ to \[ so the logging backend...
2022-12-28 19:20:28 +05:30
jsuelwald
6eafcdfafd
Update renderer.py
...
Use .replace on pformat in both lines
2022-12-28 14:27:07 +01:00
jsuelwald
5e44744ff7
Update renderer.py
...
Updated (replace doesn't work on sets)
2022-12-28 13:49:52 +01:00
cmdr2
37b293fe74
Force full precision on NVIDIA T400
2022-12-28 17:46:24 +05:30
Jens Sülwald
183bc8321c
Convert [ to \[ so the logging backend...
...
doesn't interpret that as a colour or other command
2022-12-28 10:43:39 +01:00
cmdr2
a973e4d1ef
version
2022-12-28 14:30:01 +05:30
patriceac
2859c94fea
Applying Madrang's suggestion
2022-12-27 23:36:43 -08:00
patriceac
dbcce2ee5d
Default to 4x in taskConfig
2022-12-27 23:27:25 -08:00
cmdr2
25071c238c
Remove the width for better formatting (uses what Bonsi suggested in the first place)
2022-12-27 21:14:31 +05:30
jsuelwald
c867c35e45
Update renderer.py
2022-12-27 16:23:36 +01:00
jsuelwald
6f60e88ca6
Update renderer.py for better readable console output
2022-12-27 15:41:10 +01:00
cmdr2
e155bac445
Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta
2022-12-27 17:06:55 +05:30
cmdr2
15a4682665
Fix broken drag-and-drop for text files and clipboard paste
2022-12-27 17:06:46 +05:30
cmdr2
08675b39f7
Merge pull request #710 from patriceac/image-modifiers-events
...
Adding image modifier events to core plugins
2022-12-27 16:39:11 +05:30
patriceac
2c7d5adb80
Adding image modifier events to core plugins
...
Sorry, forgot these in the first PR.
2022-12-27 02:58:46 -08:00
cmdr2
51c7faee3c
Changelog
2022-12-27 16:23:57 +05:30
cmdr2
852e129f9c
Support upscaling by 2x or 4x (previously only supported 4x)
2022-12-27 16:20:16 +05:30
cmdr2
6eb2d800fa
Tweak low GPU wording
2022-12-27 14:58:08 +05:30
cmdr2
0a2c70595d
Turbo be gone
2022-12-27 14:51:03 +05:30
cmdr2
f13e16af15
Disable unused config for now
2022-12-27 12:21:51 +05:30
cmdr2
f364958c13
Merge pull request #705 from patriceac/fix-cut-off-tooltips-display
...
Fix cut off tooltips display
2022-12-27 10:26:46 +05:30
cmdr2
e65150647d
Merge pull request #708 from patriceac/patch-6
...
Add icon to "Process newest jobs first" setting
2022-12-27 10:25:45 +05:30
patriceac
871b96a450
Add icon to "Process newest jobs first" setting
2022-12-26 19:10:37 -08:00
patriceac
48a3254ad2
Adding image modifiers events
...
Adding events to allow plugins to listen for image modifiers loaded and refreshed events respectively.
2022-12-26 12:16:36 -08:00
patriceac
2c0bdd6377
Fix cut off tooltips display
2022-12-26 10:04:36 -08:00
cmdr2
8cedeb349d
Changes to allow rolling back from the upcoming sdkit-based system
2022-12-26 23:04:45 +05:30
cmdr2
19ee87d2cd
Merge pull request #692 from JeLuF/remove-result
...
Add "Remove" button to each image's hover menu (Fixes #682 )
2022-12-26 17:38:00 +05:30
patriceac
0bfb9d00c8
Fix copy image settings to clipboard
...
Regression was caused by the processing of the legacy turbo field, which I understand to now be obsolete.
2022-12-26 02:10:36 -08:00
cmdr2
517ddca22d
Changelog
2022-12-26 13:12:56 +05:30
cmdr2
41c7b08418
Keep euler_a as the default
2022-12-26 11:59:44 +05:30
cmdr2
87b6dfb1a9
Changelog
2022-12-25 17:17:10 +05:30
cmdr2
46c56f3706
Use a model config yaml file if placed next to the model (with the same name). This can override a known model as well
2022-12-25 17:07:00 +05:30
cmdr2
b6f1194c93
Typo
2022-12-25 00:23:51 +05:30
cmdr2
102e5623f7
Merge branch 'beta' into refactor
2022-12-24 23:14:02 +05:30
cmdr2
6743ec14f1
Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta
2022-12-24 22:17:31 +05:30
cmdr2
daec5e5426
Changes to allow rolling back from the upcoming sdkit-based system
2022-12-24 22:17:16 +05:30
cmdr2
a2b55c0df7
Report precision
2022-12-24 21:44:42 +05:30
cmdr2
01320ac735
Rename project to Easy Diffusion
2022-12-24 21:36:47 +05:30
cmdr2
84bddee2ce
Treat none as a boolean false in drag-and-drop
2022-12-24 19:41:36 +05:30
cmdr2
9137f3793e
Merge pull request #693 from madrang/mobile-fixes
...
Add a debounce delay to allow mobile to bouble tap.
2022-12-24 15:53:31 +05:30
cmdr2
73e92a688f
color logging 2
2022-12-24 15:43:06 +05:30
cmdr2
7a9f219037
color logging
2022-12-24 15:41:19 +05:30
cmdr2
a4728190c0
Refactor server.py
2022-12-24 15:29:49 +05:30
Marc-Andre Ferland
04d67a24b6
Don't allow the results to be collapsed when clicking draghandle
2022-12-24 04:55:28 -05:00
Marc-Andre Ferland
55049ba9d2
Add a debounce delay to allow mobile to bouble tap.
2022-12-24 04:42:43 -05:00
cmdr2
b7a76d4212
Merge branch 'beta' into refactor
2022-12-24 13:45:53 +05:30
cmdr2
ba7cae683a
Bump to 2.5
2022-12-24 13:39:28 +05:30
cmdr2
243556656e
Temporarily disable the model config dropdown in the UI
2022-12-24 13:38:55 +05:30
cmdr2
107112d1c4
Integration bugs
2022-12-24 12:37:20 +05:30
JeLuF
4eae540086
Add "Remove" button to each image's hover menu
2022-12-24 01:02:38 +01:00
JeLuF
21108650f7
add findClosestAncestor
...
Function to find the closest ancestor of an element that matches the selection criterion
2022-12-24 00:58:52 +01:00
JeLuF
09b76dcd93
Avoid guidance scale "1.0"
...
Using a guidance scale of 1.0 will cause an exception in the renderer and return a very confusing error message.
https://discord.com/channels/1014774730907209781/1028195513377509376
2022-12-23 13:18:08 +01:00
cmdr2
cf2408013e
Measure the click-to-render-request latency, only if the click button was used
2022-12-23 10:54:40 +05:30
cmdr2
d8543d1358
Use the sdkit model scan; Disable scan-per-load since we scan them before allowing them to be invoked
2022-12-22 16:47:59 +05:30
cmdr2
d8b79d8b5c
Don't crash if IP listing fails. Thanks @JeLuf
2022-12-22 15:43:52 +05:30
cmdr2
c2bcf89f9a
Merge branch 'beta' into refactor
2022-12-22 15:42:04 +05:30
cmdr2
5cb24f992c
Bump version
2022-12-22 15:23:07 +05:30
cmdr2
21394b7d45
Reduce the delay between clicking 'Make Image' and making the render call to the server. Was nearly 4-5 seconds, now it's about 250-300ms. This is a hacky workaround until a better solution is found
2022-12-22 15:22:25 +05:30
cmdr2
6e07b2354f
Fix an unnecessary error when a task header is clicked
2022-12-22 13:42:47 +05:30
cmdr2
c804a9971e
Work-in-progress code for adding a model config dropdown in the UI. Doesn't work yet
2022-12-22 11:54:00 +05:30
cmdr2
4d7f6e4236
Change version number in beta
2022-12-22 10:32:40 +05:30
Malcolm Diller
5474d1786f
updated inpainter to not auto-clear itself whenever you draw etc
2022-12-21 16:35:03 -08:00
Malcolm Diller
7f36473544
added a fill action
2022-12-21 16:20:07 -08:00
Malcolm Diller
9d19698bf3
fixed opacity on inpainter to be 100% by default so no weird erasing
2022-12-21 16:09:56 -08:00
Malcolm Diller
582b2d936f
fixed theme css properties not being updated properly
2022-12-21 16:03:52 -08:00
cmdr2
5eeef41d8c
Update to use the latest sdkit API
2022-12-20 15:16:47 +05:30
cmdr2
bacf266f0d
Merge pull request #651 from madrang/release-notes
...
Update 'release-notes' to use loadScript
2022-12-20 10:21:07 +05:30