Commit Graph

364 Commits

Author SHA1 Message Date
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
dba573bf1a Show v3 engine selection even without beta 2023-08-23 13:02:20 +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
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
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
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
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
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
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
JeLuF
84c5a759d4
Resize slider for the advanced image popup (#1490) 2023-08-14 18:26:33 +05:30
cmdr2
2d2a75f23c v2.6.0 (beta) - switch beta to use diffusers by default 2023-08-03 20:01:27 +05:30
cmdr2
376d238ad8 Keep IMAGE_STEP_SIZE synchronized across all the clamps 2023-08-03 17:40:26 +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
f0f6578b9c Round image sizes to a multiple of 8 2023-08-03 10:22:24 +05:30
cmdr2
d1fdf1766a Allow batch size ranges again in TRT 2023-08-02 14:03:59 +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
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
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
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