Commit Graph

706 Commits

Author SHA1 Message Date
cmdr2
19f37907d9 Allow changing the models directory via a setting, to share models with other locations on the disk 2023-09-01 10:40:18 +05:30
cmdr2
b458d57355 Keep the old test_diffusers id around to prevent broken plugins 2023-08-31 22:24:27 +05:30
cmdr2
a5962dae33 Allow underscore in embeddings path 2023-08-31 22:19:04 +05:30
cmdr2
670768e5b3 Allow hyphens in embeddings 2023-08-31 22:16:48 +05:30
cmdr2
7a118eeb15 Rename the test_diffusers config key to upgrade all the existing users to the v3 engine. Users can now opt to disable v3. This upgrades existing users who had maybe tried diffusers many months ago (when it was still unstable) and decided against it (at that time). 2023-08-31 19:20:26 +05:30
cmdr2
536082c1a6 Save filtered images to disk if required by the API, for e.g. when clicking 'Upscale' or 'Fix Faces on the image 2023-08-31 15:57:53 +05:30
cmdr2
a7c12e61d8 Fix incorrect tiling message in the task info 2023-08-30 19:32:29 +05:30
cmdr2
16f0950ebd sdkit 2.0.6 - Fix broken VAE tiling 2023-08-30 17:42:50 +05:30
JeLuF
b89d152540
Support lora models in subfolders when scanning the <lora> tag (#1521)
* Recursive lora search

* Support lora models in subfolders when scanning the <lora> tag
2023-08-29 10:48:57 +05:30
cmdr2
b1cb03962c Fix embedding extraction for weights, commas, etc. This fixes the recent change where 'world' would match 'rld'. 2023-08-29 10:23:05 +05:30
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
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
dba573bf1a Show v3 engine selection even without beta 2023-08-23 13:02:20 +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
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
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
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
ca8a96f956 Don't show or save hypernetwork info if using v3 (diffusers) 2023-08-18 19:09:14 +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
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