Commit Graph

1901 Commits

Author SHA1 Message Date
cmdr2
a7b0858b22 Temporarily hide the support banner until v3 releases to main. Avoids the distraction from handling support/bugs during v3's release, will bring this back soon 2023-08-29 09:43:31 +05:30
cmdr2
2bc66cc640 Merge branch 'banner' into beta 2023-08-24 18:24:28 +05:30
cmdr2
f9f9aba92d f 2023-08-24 17:39:39 +05:30
cmdr2
3f278cf2ad Pick the right embedding even if it has an underscore 2023-08-24 17:36:49 +05:30
JeLuF
cb7ba96dad
Fix handling of embeddings with space in their name (#1402)
* Fix handling of files with space in their name

* Handle embeddings in save files

* Moved get_embedding_token

* Moved get_embedding_token

* Update save_utils.py
2023-08-24 16:32:17 +05:30
JeLuF
31edce4a60
Add ".pt" to the Lora extensions (#1518)
https://discord.com/channels/1014774730907209781/1014774732018683926/1144179143873929288

There seem to be ".pt" LORA files in the wild.
2023-08-24 16:09:42 +05:30
JeLuF
1b6aae9678
Cancel/Stop/Remove task buttons (#1493)
* Cancel/Stop/Remove task
So far, the button to remove a not yet rendered and a completed task was labeled 'Remove'. This can lead to confusions.
This PR changes the label to 'Cancel' for not yet rendered tasks. It also changes the color of the undoable 'Remove' button

* Keep the button color as red
2023-08-24 16:07:58 +05:30
cmdr2
1e13c4e808 Support banner with kofi, patreon and itch.io links 2023-08-23 19:50:38 +05:30
cmdr2
15b828b0f5 typo 2023-08-23 13:29:36 +05:30
cmdr2
faa83a87df rename kofi link 2023-08-23 13:21:46 +05:30
cmdr2
dba573bf1a Show v3 engine selection even without beta 2023-08-23 13:02:20 +05:30
cmdr2
6a0eef3fe4 Show tabs on mobile 2023-08-23 12:19:35 +05:30
cmdr2
98f58e8672 Download button styling on mobile 2023-08-23 12:15:35 +05:30
cmdr2
04274f5839 Fix styling on mobile devices 2023-08-23 12:11:06 +05:30
cmdr2
1cd9c7fdac Show the negative embeddings button only if the negative prompt panel is open 2023-08-22 16:59:40 +05:30
cmdr2
1fd011b1be Don't fail if the prompt strength is too low 2023-08-22 15:41:21 +05:30
cmdr2
061380742c version 2023-08-22 15:17:24 +05:30
cmdr2
55af328181 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-08-22 12:02:42 +05:30
cmdr2
a8c0abfd5d Use document event handling for task events 2023-08-22 12:02:34 +05:30
rbertus2000
669d40a9d2
fix embedding parser and use standard embedding varuable for metadata (#1516) 2023-08-22 09:08:59 +05:30
cmdr2
18049d529a Fix the lora prompt parser 2023-08-21 19:45:26 +05:30
cmdr2
f2b441d9fc typo 2023-08-21 19:20:23 +05:30
cmdr2
41d4ad2096 sdkit 1.0.179 - tile controlnet 2023-08-21 14:29:54 +05:30
JeLuF
be83336cf7
WebP metadata support (#1511)
* WebP metadata support
- Replace piexif.js by Exif-Reader
- Merge plugin html/css to index.html/main.css

* Add webp to tooltip message
2023-08-21 13:28:26 +05:30
cmdr2
19fdba7d73 Send the controlnet filter preview request only when the task is about to start 2023-08-21 11:04:13 +05:30
cmdr2
2c2b3b75d5 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-08-19 13:18:05 +05:30
cmdr2
47d5cb9e33 Refactor some of the task-related functions into task-manager.js, with callbacks for some UI-related code. This isn't exhaustive, just another step towards breaking up main.js 2023-08-19 13:15:32 +05:30
JeLuF
7b8e1bc919
type=number for number of images fields (#1507) 2023-08-19 09:51:34 +05:30
JeLuF
77aa7a0148
Improvements/Fixes for embeddings UI (#1509)
- Don't show "Use as thumbnail" if no embeddings were used in the prompt
- Fix layout issue on small screens
- use req.use_embeddings_model instead of parsing the prompt
- Add button to upload a thumb" ../../index.html ../css/main.css main.js
2023-08-19 09:50:40 +05:30
JeLuF
bdd7d2599f
API to get SHA256 of a model file (#1510)
To be used from javascript to collect metadata from civitai
https://civitai.com/api/v1/model-versions/by-hash/0A35347528
2023-08-19 09:47:59 +05:30
cmdr2
ca8a96f956 Don't show or save hypernetwork info if using v3 (diffusers) 2023-08-18 19:09:14 +05:30
cmdr2
1b6ec418a1 sdkit 1.0.177 - rotate images if EXIF rotation present 2023-08-18 19:01:16 +05:30
cmdr2
ab4d34e509 sdkit 1.0.176 - resize control images to the task dimensions, to avoid memory errors with high-res control images 2023-08-18 18:43:23 +05:30
cmdr2
7f878f365b Don't add hypernetwork info in the metadata if using diffusers (v3 engine) 2023-08-18 18:23:21 +05:30
cmdr2
5efabfaea6 Don't include hypernetwork info in 'copy settings' if using diffusers 2023-08-18 18:10:35 +05:30
cmdr2
8999f9450f Show control image when 'Use these Settings' is used 2023-08-18 17:59:00 +05:30
cmdr2
1d54943d71 Support drag-and-drop and use-these-settings for controlnet 2023-08-18 17:53:16 +05:30
cmdr2
767d8fc35d Use these Settings work for multi-lora now 2023-08-18 17:18:01 +05:30
cmdr2
894f34678e Some more fixes for multi-lora use-these-settings 2023-08-18 17:08:19 +05:30
cmdr2
1190bedafd Don't include empty lora values in the metadata 2023-08-18 17:03:41 +05:30
cmdr2
e80db71d1c Allow downloading the controlnet preview image 2023-08-18 16:24:17 +05:30
cmdr2
38b2eec4be Show controlnet preview in the task entry after applying the filter 2023-08-18 16:14:01 +05:30
cmdr2
8dafe486a2 Show controlnet model in the task info 2023-08-18 14:19:50 +05:30
cmdr2
67cae9725e Fix drag-and-drop and Use these Settings for LoRA 2023-08-18 14:16:23 +05:30
cmdr2
a2d06f87f6 Use the new lora models component while creating the render request 2023-08-18 13:27:00 +05:30
cmdr2
afd879a692 Auto-save LoRAs 2023-08-18 13:18:06 +05:30
cmdr2
83de2b8de7 formatting 2023-08-17 16:09:47 +05:30
cmdr2
4930f36a1a Remove tensorrt demo settings 2023-08-17 16:09:37 +05:30
cmdr2
fa3f196add Ignore commas while looking for embeddings 2023-08-17 16:09:17 +05:30
JeLuF
d632cfcde9
Hide empty folders in embeddings search results (#1506) 2023-08-17 13:23:13 +05:30
cmdr2
07f797a5e4 Negative embedding label 2023-08-17 12:32:50 +05:30
cmdr2
121107dd13 Shadow in dialogs 2023-08-17 12:30:18 +05:30
cmdr2
a2479b74be Show thumbnails for embeddings 2023-08-17 12:26:23 +05:30
cmdr2
7ee1d3cd91 Remove the embeddings in low warning (again) 2023-08-17 12:05:36 +05:30
cmdr2
4b28ddd691 Typo 2023-08-17 11:53:59 +05:30
JeLuF
7270b5fe0c
Thumbnails for Embeddings (#1483)
* sqlalchemy

* sqlalchemy

* sqlalchemy bucket v1

* Bucket API

* Move easydb files to its own folders

* show images

* add croppr

* croppr ui

* profile, thumbnail croppr size limit

* fill list

* add upload

* Use modifiers card, resize thumbs

* Remove debugging code

* remove unused variable
2023-08-17 11:33:05 +05:30
JeLuF
285792f692
Controlnet thumb in taskConfig (#1502) 2023-08-17 11:18:47 +05:30
JeLuF
23a0a48b81
Warn when no controlnet model is chosen (#1503)
* Warn when no controlnet model is chosen

* Update main.js
2023-08-17 11:18:00 +05:30
JeLuF
2baad73bb9
Error messages for SDXL yaml files (#1504)
* Error messages for SDXL embeddings and SDXL yaml files

* Embeddings are supported now with SDXL
2023-08-17 11:08:18 +05:30
cmdr2
ac1c65fba1 Move the extraction logic for embeddings-from-prompt, from sdkit to ED's UI 2023-08-17 10:54:47 +05:30
JeLuF
a1854d3734
'Use for Controlnet', Drag'n'Drop (#1501)
* Drop area for Controlnet

* 'Use for Controlnet', DND
2023-08-16 10:23:12 +05:30
cmdr2
01c1c77564 formatting 2023-08-15 16:58:12 +05:30
cmdr2
34de4fe8fe Remove warning about embeddings in low vram mode, works now 2023-08-15 16:57:51 +05:30
cmdr2
0adb7831e7 Use the correct nvidia wheels path 2023-08-15 12:53:16 +05:30
cmdr2
e80001e8c8 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-08-14 18:52:50 +05:30
cmdr2
b5490f7712 changelog 2023-08-14 18:52:38 +05:30
JeLuF
84c5a759d4
Resize slider for the advanced image popup (#1490) 2023-08-14 18:26:33 +05:30
ManInDark
12fa08d7a7
Changed cursor on logo hover to indicate that it can be clicked 2023-08-08 21:45:18 +02:00
cmdr2
50dea4cb52 Use --pre for trt installs 2023-08-04 19:48:24 +05:30
cmdr2
20b06db359 Include onnx and polygraphy for TRT, and allow skipping the wheels for TRT 2023-08-04 19:46:37 +05:30
cmdr2
b6e512e65f v3 engine name 2023-08-04 11:21:31 +05:30
cmdr2
7d71c353b2 changelog 2023-08-04 11:19:35 +05:30
cmdr2
3216a68d63 Fix regression with new installations not being able to start ED 2023-08-03 21:01:21 +05:30
cmdr2
df518f822c SDXL 2023-08-03 20:11:27 +05:30
cmdr2
2d2a75f23c v2.6.0 (beta) - switch beta to use diffusers by default 2023-08-03 20:01:27 +05:30
cmdr2
21297d98f2 Option to disable LoRA tag parsing 2023-08-03 18:38:25 +05:30
cmdr2
cc7452374d Remove hypernetworks from the UI options in diffusers. Sorry 2023-08-03 17:43:49 +05:30
cmdr2
376d238ad8 Keep IMAGE_STEP_SIZE synchronized across all the clamps 2023-08-03 17:40:26 +05:30
cmdr2
d35a89bb01 Show the controlnet buttons only for diffusers 2023-08-03 17:08:21 +05:30
cmdr2
404329f9b5 Fix for image modifier improvements plugin 2023-08-03 16:33:20 +05:30
cmdr2
3929e88d87 Include the lora parser plugin as a core feature 2023-08-03 16:20:27 +05:30
cmdr2
83a5b5b46f Clamp controlnet images to multiples of 8 2023-08-03 15:51:39 +05:30
cmdr2
b97c906128 Fix a bug where setting an initial image would mess up the width and height field 2023-08-03 15:49:01 +05:30
cmdr2
9a528496a3 Reload the model if the path exists in the request but the model has been unloaded 2023-08-03 15:13:41 +05:30
cmdr2
f0f6578b9c Round image sizes to a multiple of 8 2023-08-03 10:22:24 +05:30
cmdr2
befe8ad24e TRT logging 2023-08-02 18:55:09 +05:30
cmdr2
c5249e6144 TRT styling 2023-08-02 16:45:12 +05:30
cmdr2
76b7e32125 Bug fixes for TRT 2023-08-02 16:37:05 +05:30
cmdr2
d1fdf1766a Allow batch size ranges again in TRT 2023-08-02 14:03:59 +05:30
Olivia Godone-Maresca
7d496f4ad0
Add ControlNet model and filter to metadata (#1454) 2023-08-02 10:13:21 +05:30
cmdr2
53b5ce6e2c typo 2023-08-02 00:10:19 +05:30
cmdr2
38ab5b090f TRT ui changes 2023-08-02 00:08:43 +05:30
cmdr2
fa58996f37 sdkit 1.0.157 - tensorRT build configuration from the UI; clamp images to 8 instead of 64 pixels 2023-08-01 23:53:01 +05:30
cmdr2
56f92ccab0 Don't restrict TRT to batch size 1 2023-08-01 21:24:22 +05:30
cmdr2
3d9a9299dc changelog 2023-08-01 17:42:15 +05:30
cmdr2
ae34c9e84b Download known controlnet models if selected; Auto-pick the recommended controlnet model when a filter is selected 2023-08-01 17:39:04 +05:30
cmdr2
eba7bab15e Allow named models in the dropdown 2023-08-01 16:16:38 +05:30
cmdr2
ee6db85768 Initial support for Controlnet 2023-08-01 15:39:15 +05:30
cmdr2
05ed110519 Don't show parallel field for tensorrt demo 2023-08-01 13:02:53 +05:30
cmdr2
4cee1be99c Default settings for TensorRT demo; Don't show splash screen for diffusers 2023-08-01 12:43:23 +05:30
cmdr2
d39e1da183 Fixes for TensorRT 2023-08-01 11:49:30 +05:30
cmdr2
432fd57581 Use the desired output format and quality while applying the quick filter 2023-07-30 14:06:31 +05:30
cmdr2
1d6742f463 sdkit 1.0.151 - An option to use strict mask borders 2023-07-30 13:51:19 +05:30
JeLuF
2e849827d1
Restore width/height dropdown (#1445) 2023-07-30 10:16:04 +05:30
cmdr2
1e2c9ecb41 Use nvidia pypi index url for linux 2023-07-29 22:24:34 +05:30
JeLuF
4d3f55622a
Support more image sizes (#1441)
* Support more image sizes
With diffusers, width and height must be a multiple of 8 (instead of 64), allowing more resolution values.

* Add swap button

* Change popup button icon
2023-07-29 21:42:48 +05:30
cmdr2
2e3059a7c8 UI for TensorRT installation and conversion 2023-07-29 21:09:27 +05:30
cmdr2
a9f1000af8 Install button for TensorRT - displayed only if an NVIDIA gpu is active 2023-07-29 11:41:44 +05:30
cmdr2
a9960ded01 Styling 2023-07-29 10:14:52 +05:30
cmdr2
ed84a23f36 Redo button for image filters, limit undo buffer size to 5 2023-07-29 10:07:41 +05:30
cmdr2
c906c5d14a Don't rely on old keys to exist in the request 2023-07-29 09:14:00 +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
17a11b94b2 changelog 2023-07-28 18:59:10 +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
cmdr2
de3b43647a changelog 2023-07-27 15:38:10 +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
c71d7ea14f Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-07-22 15:10:44 +05:30
cmdr2
721ab8a0c7 Silly error, don't delete a key if it doesn't exist 2023-07-22 15:10:33 +05:30
cmdr2
d0d9c185f1
Merge pull request #1428 from ogmaresca/fix-synatax-warning-on-startup
Fix SyntaxWarning on startup
2023-07-22 12:10:53 +05:30
cmdr2
ade0912ba1 Fix for endlessly nesting config.yaml 2023-07-22 11:47:48 +05:30
Olivia Godone-Maresca
192520eafe Fix SyntaxWarning on startup 2023-07-21 21:15:21 -04:00
JeLuF
636c3e5c02 restore hover 2023-07-18 18:39:49 +02:00
JeLuF
0dbc195770 Improve embedding readability 2023-07-18 18:37:14 +02:00
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
cmdr2
47b157c24a wording 2023-07-16 13:28:54 +05:30
cmdr2
e358a72925
Merge pull request #1397 from ogmaresca/restart-needed
Add Restart needed to diffusers-only fields if you enable diffusers then refresh without restarting EasyDiffusion
2023-07-16 13:23:04 +05:30
cmdr2
6201ed30ff
Merge pull request #1414 from ogmaresca/multi-lora-text-metadata
Format LoRA model/strength as comma separated string in text metadata
2023-07-16 13:20:09 +05:30
cmdr2
ace53d211f changelog 2023-07-16 12:59:18 +05:30
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
Olivia Godone-Maresca
8151bc57b1 Format LoRA model/strength as comma separated string in text metadata 2023-07-15 12:57:37 -04:00
cmdr2
0d610c5393 Remove the +/- 2 limit on lora strengths 2023-07-15 21:48:51 +05:30
cmdr2
7c358c2842 changelog 2023-07-15 19:34:32 +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
fe6991c703 Dark theme for input spinner buttons 2023-07-15 16:28:31 +05:30
cmdr2
17c9d9b447 pull-to-refresh on android needs this field in the body 2023-07-15 13:01:08 +05:30