fix capitalization

pull/3210/head^2
Vladimir Mandic 2024-06-06 13:15:44 -04:00
parent b8c6d63580
commit 4e1f8a2b71
1 changed files with 2 additions and 2 deletions

View File

@ -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