Added random tag generator

- Similar to A1111, but with sampler settings and only shuffles comma separated tags rather than each word. Not really needed, but makes the "Tag" tab less empty. Maybe doing something closer to A1111 would be better since it appears to generate the tags with variables counts.
- Disabled (second attempt) label text activating input element. `label > *` is problematic.
This commit is contained in:
Christian Bastian
2024-07-23 01:45:12 -04:00
parent 7dd91f0aef
commit debb0dd07b
3 changed files with 203 additions and 28 deletions

View File

@@ -191,6 +191,9 @@ def ui_rules():
Rule("model-add-drag-strict-on-field", False, bool),
Rule("model-add-offset", 25, int),
Rule("download-save-description-as-text-file", True, bool),
Rule("tag-generator-sampler-method", "Frequency", str),
Rule("tag-generator-count", 10, int),
Rule("tag-generator-threshold", 2, int),
]