fix script sorting

This commit is contained in:
Vladimir Mandic
2024-09-12 10:53:17 -04:00
parent c788c8a3d5
commit da0757734d
4 changed files with 7 additions and 5 deletions
+4 -3
View File
@@ -1,8 +1,8 @@
# Change Log for SD.Next
## Update for 2024-09-11
## Update for 2024-09-12
### Highlights for 2024-09-11
### Highlights for 2024-09-12
Major refactor of [FLUX.1](https://blackforestlabs.ai/announcing-black-forest-labs/) support:
- Full **ControlNet** support, better **LoRA** support, full **prompt attention** implementation
@@ -27,7 +27,7 @@ Plus tons of other items and fixes - see [changelog](https://github.com/vladmand
Examples:
- Built-in prompt-enhancer, TAESD optimizations, new DC-Solver scheduler, etc.
### Details for 2024-09-11
### Details for 2024-09-12
**Major refactor of FLUX.1 support:**
- allow configuration of individual FLUX.1 model components: *transformer, text-encoder, vae*
@@ -135,6 +135,7 @@ Examples:
- fix vae decode in backend original
- fix model path typos
- fix guidance end handler
- fix script sorting
## Update for 2024-08-31
+1
View File
@@ -256,6 +256,7 @@ def load_scripts():
postprocessing_scripts_data.clear()
script_callbacks.clear_callbacks()
scripts_list = list_scripts('scripts', '.py') + list_scripts(os.path.join('modules', 'face'), '.py')
scripts_list = sorted(scripts_list, key=lambda item: item.priority + item.path.lower(), reverse=False)
syspath = sys.path
def register_scripts_from_module(module, scriptfile):
+1 -1
View File
@@ -10,7 +10,7 @@ from modules import scripts, shared, processing
class Script(scripts.Script):
def title(self):
return 'Color grading'
return 'LUT Color grading'
def show(self, is_img2img):
return shared.native