Commit Graph

118 Commits

Author SHA1 Message Date
cmdr2
c46f29abb0 Include scheduler in drag-and-drop 2024-10-09 21:18:15 +05:30
cmdr2
3327244da2 Scheduler selection in the UI; Store Scheduler and Distilled Guidance in metadata 2024-10-09 11:43:45 +05:30
cmdr2
05f3523364 Set the controlnet alpha correctly from older exports; Fix a bug with null lora model in exports 2024-05-28 19:16:48 +05:30
cmdr2
44789bf16b sdkit 2.0.15.4 - Controlnet strength slider 2024-05-28 18:45:08 +05:30
cmdr2
16f0950ebd sdkit 2.0.6 - Fix broken VAE tiling 2023-08-30 17:42:50 +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
67cae9725e Fix drag-and-drop and Use these Settings for LoRA 2023-08-18 14:16:23 +05:30
cmdr2
ef1e42dd7b Add and remove buttons for arbitrary number of LoRA models 2023-07-16 02:12:42 +05:30
cmdr2
f5b8044bad UI changes for multiple LoRA files 2023-07-15 19:33:49 +05:30
cmdr2
16fcb4ed79
Merge pull request #1314 from JeLuF/dndgan
Fix GFPGAN settings import
2023-05-29 15:46:28 +05:30
cmdr2
40682405cc
Merge pull request #1309 from ogmaresca/add-tiling-to-metadata
Add tiling and latent upscaler steps to metadata
2023-05-28 17:33:00 +05:30
JeLuF
30dcc7477f Fix GFPGAN settings import
The word None which many txt metadata files contain as value for the GFPGAN field should not be considered to be a model name.
If the value is None, disable the checkbox
2023-05-28 01:43:58 +02:00
patriceac
6826435046
Fix restore task to UI flow
Fixes a regression introduced by https://github.com/cmdr2/stable-diffusion-ui/pull/1304
2023-05-27 00:26:25 -07:00
Olivia Godone-Maresca
69d937e0b1 Add tiling and latent upscaler steps to metadata
Also fix txt metadata labels when also embedding metadata
2023-05-26 19:51:30 -04:00
cmdr2
0990d8fc4d
Merge pull request #1304 from JeLuF/dndfix
Remove warning when reusing settings - Fixes #1290
2023-05-26 15:24:56 +05:30
JeLuF
d818107953 Remove warning when reusing settings - Fixes #1290 2023-05-25 13:36:45 +02:00
JeLuF
9dfa300083 Add seamless tiling support 2023-05-25 00:16:14 +02:00
Olivia Godone-Maresca
a6dbdf664b Add Clip Skip to metadata files
Also, force the properties to be in a consistent order so that, for example, LoRA strength will always be the line below LoRA model. I've rearranged the properties so that they are saved in the same order that the properties are laid out in the UI
2023-05-19 19:05:32 -04:00
JeLuF
00603ce124 Add Clip Skip support 2023-05-18 13:55:45 +02:00
cmdr2
469585ddda Use ES5 style trailing commas, to avoid unnecessary lines during code diffs 2023-04-28 15:50:44 +05:30
Lucas Marcelli
aad1afb70e add prettier for JS style 2023-04-27 13:56:56 -04:00
patriceac
4f2df2d188
Properly reset LoRA selection from Use Settings 2023-04-08 18:19:03 -07:00
JeLuF
9e244f758c Don't paste empty prompts
When pasting e.g. an image, window.clipboardData).getData('text') returns an empty string, which would delete the prompt.
https://discord.com/channels/1014774730907209781/1093186485563424838
2023-04-07 22:24:35 +02:00
cmdr2
888dc05cde
Merge pull request #1107 from ogmaresca/save-lora-strength-in-metadata
Add LoRA Strength to metadata files
2023-04-06 15:47:23 +05:30
patriceac
6aa048e3ad
Reset the LoRA dropdown if not present in the task 2023-04-02 02:04:03 -07:00
Olivia Godone-Maresca
07b467e4bc Add LoRA Strength to metadata files 2023-04-01 11:42:20 -04:00
cmdr2
590472cab2
Merge pull request #1063 from patriceac/patch-61
Fire event when random seed is toggled by dnd.js
2023-03-28 15:45:50 +05:30
patriceac
728e7c79fd
Add support for LoRA models to dnd.js (#1054)
* Add support for LoRA to dnd.js

Adds support for LoRA to dnd.js (task restoration, use settings, etc.).

* Correct extensions for LoRA

---------

Co-authored-by: cmdr2 <shashank.shekhar.global@gmail.com>
2023-03-28 15:37:50 +05:30
patriceac
48b233304f
Only notify upon disabling 2023-03-25 02:51:46 -07:00
patriceac
1c2e353fc5
Fire event when random seed is toggled by dnd.js
This is to let plugins know that the state of the random seed toggle was programmatically changed by dnd.js. No change for regular UI.
2023-03-25 02:47:05 -07:00
JeLuF
7917ac8ebc Load prompt: support JSON and TXT metadata
Also, allow prompt files (one line per prompt) to be dnd'ed
2023-03-19 16:21:17 +01:00
patriceac
e6ec7393c6
Fix the restoration of the inpainting toggle
The Inpainting toggle doesn't get restored at the very first attempt.

Repro steps:
1. Create a task with a source image and enable the inpainting toggle.
2. Copy the task to the clipboard
3. Refresh the page (F5)
4. Paste the task from the clipboard

Expected result:
The task gets restored and the toggle is ON.

Actual result:
The task is restored, but the toggle is OFF.

To fix that, we have to restore the toggle's state after loading the source image.
2023-02-22 23:46:07 -08:00
cmdr2
50e4683492
Merge pull request #907 from ogmaresca/webp-support
Support WEBP image formats
2023-02-20 18:36:40 +05:30
Olivia Godone-Maresca
c2c33b7df1 Support WEBP outputs 2023-02-18 22:37:34 -05:00
patriceac
92d3d9cd33
Fix filename parsing issue
Here is a more robust fix for task restoration in dnd.js. Task restoration will fail if the JSON contains "use_face_correction": false, which can happen under some circumstances.

The fix checks if the filename passed to getModelPath is actually a string, which covers both the previous scenario (filename === null) and this new one (filename === false).
2023-02-17 18:49:51 -08:00
patriceac
9799309db9
Fix reloading of tasks with no file path
In some conditions tasks may be reloaded with an empty file path (e.g. no face correction)
2023-02-14 02:31:13 -08:00
JeLuF
aa7c031e8a Fix task reordering 2023-02-12 01:02:27 +01:00
cmdr2
73abf131a6
Merge pull request #771 from patriceac/patch-19
Fix restoration of models with subfolders
2023-02-10 17:32:56 +05:30
patriceac
a0178e15b3 More robust relative path calculation 2023-02-06 22:19:57 -08:00
patriceac
01368ac496 Add support for Windows path names 2023-01-25 02:47:50 -08:00
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
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
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
b11aa4833d
Merge pull request #724 from patriceac/img2img-settings-restoration
Img2img settings restoration
2023-01-09 18:36:32 +05:30