Skip to content

Commit 5830095

Browse files
authored
Add old prompt parser compat option
1 parent 9cfd10c commit 5830095

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎modules/shared.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ def list_samplers():
400400
"use_old_emphasis_implementation": OptionInfo(False, "Use old emphasis implementation. Can be useful to reproduce old seeds."),
401401
"use_old_karras_scheduler_sigmas": OptionInfo(False, "Use old karras scheduler sigmas (0.1 to 10)."),
402402
"use_old_hires_fix_width_height": OptionInfo(False, "For hires fix, use width/height sliders to set final resolution rather than first pass (disables Upscale by, Resize width/height to)."),
403+
"use_old_prompt_parser_default_step_transformer": OptionInfo(False, "Use old prompt parser default step transformer. In particular, alternating words that contained emphasis were not parsed correctly. Useful to reproduce old seeds."),
403404
}))
404405

405406
options_templates.update(options_section(('interrogate', "Interrogate Options"), {

0 commit comments

Comments
 (0)