diff --git a/modules/infotext.py b/modules/infotext.py index ed569517d..285631f84 100644 --- a/modules/infotext.py +++ b/modules/infotext.py @@ -27,9 +27,9 @@ def parse(infotext): if not isinstance(infotext, str): return {} debug(f'Raw: {infotext}') - if 'negative prompt:' not in infotext: + if 'negative prompt:' not in infotext.lower(): infotext = 'negative prompt: ' + infotext - if 'Prompt:' not in infotext: + if 'prompt:' not in infotext.lower(): infotext = 'prompt: ' + infotext remaining = infotext