mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
cleanup wildcard metadata
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+5
-3
@@ -1,8 +1,8 @@
|
||||
# Change Log for SD.Next
|
||||
|
||||
## Update for 2026-09-13
|
||||
## Update for 2026-09-14
|
||||
|
||||
### Highlights for 2026-09-13
|
||||
### Highlights for 2026-09-14
|
||||
|
||||
*What's New*? Well, code-wise, this is a big one...
|
||||
First, a-lot-of-optimizations:
|
||||
@@ -23,7 +23,7 @@ Plus inevitable bug-fixes...
|
||||
|
||||
[Home](https://vladmandic.github.io/sdnext/) | [ChangeLog](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) | [Docs](https://vladmandic.github.io/sdnext-docs/) | [Discord](https://discord.com/invite/sd-next-federal-batch-inspectors-1101998836328697867) | [Sponsor](https://github.com/sponsors/vladmandic)
|
||||
|
||||
### Details for 2026-09-13
|
||||
### Details for 2026-09-14
|
||||
|
||||
- **Models**
|
||||
- [Anima 2.9B Preview v1](https://huggingface.co/yeoj34760/Anima-2.9B)
|
||||
@@ -124,6 +124,7 @@ Plus inevitable bug-fixes...
|
||||
- compile: keep model compiled state
|
||||
- detailer: handling of stop/skip/pause
|
||||
- framepack: correct device assignment, thanks @li-lizhe
|
||||
- json: handle file locks
|
||||
- log: ansi color handling
|
||||
- lora: cleanup tags
|
||||
- lora: support transformer ref models
|
||||
@@ -142,6 +143,7 @@ Plus inevitable bug-fixes...
|
||||
- prompt: unnecessary secondary prompt if same
|
||||
- prompt: clean prompt after network parsing
|
||||
- rife: cleanup dead code, thanks @Anai-Guo
|
||||
- temp files: handle locking
|
||||
- theme: fix circular imports changing theme to default
|
||||
- todo: remove dead code, thanks @Anai-Guo
|
||||
- ui: js fetch exception handling
|
||||
|
||||
Submodule extensions-builtin/sdnext-modernui updated: a9ed76cd11...e91b28e904
+5
-2
@@ -207,8 +207,11 @@ def apply_wildcards_to_prompt(prompt, all_wildcards, seed=-1, silent=False, p: S
|
||||
if (len(replaced_files) > 0 or len(missing_files) > 0) and not silent:
|
||||
log.debug(f'Apply wildcards: found={replaced_files} missing={missing_files} path="{shared.opts.wildcards_dir}" type=file seed={seed} time={t2-t1:.2f}')
|
||||
if p is not None:
|
||||
wildcards = p.extra_generation_params.get('Wildcards', []) + replaced_files
|
||||
p.extra_generation_params['Wildcards'] = ', '.join(wildcards)
|
||||
existing_wildcards = p.extra_generation_params.get('Wildcards', [])
|
||||
if p.batch_size > 1 and existing_wildcards == replaced_files:
|
||||
pass
|
||||
else:
|
||||
p.extra_generation_params['Wildcards'] = existing_wildcards + replaced_files
|
||||
if old_state is not None:
|
||||
random.setstate(old_state)
|
||||
return prompt
|
||||
|
||||
Reference in New Issue
Block a user