Commit Graph

1810 Commits

Author SHA1 Message Date
cmdr2
80e47be5a5 Prevent block_nsfw from getting edited via the HTTP api 2023-08-30 16:22:05 +05:30
cmdr2
9a9f6e3559 Server-side config to allow force-blocking of NSFW images 2023-08-30 16:13:10 +05:30
cmdr2
56bea46e3a Use absolute config path 2023-08-30 15:34:55 +05:30
cmdr2
a09441b2c8 Change the tensorrt installation commands to what NVIDIA suggested over chat 2023-08-30 15:14:05 +05:30
cmdr2
ab5450bb27 Don't download codeformer and controlnet if not being used 2023-08-30 14:39:43 +05:30
cmdr2
3792a1bc0d sdkit 2.0.4 - use sd 1.5 fp16 by default, if no model is present 2023-08-29 20:06:54 +05:30
JeLuF
8c27fa136c inputmode=numeric/decimal for <input> fields 2023-08-29 10:02:06 +02:00
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
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