mirror of https://github.com/vladmandic/automatic
fix capitalization
parent
b8c6d63580
commit
4e1f8a2b71
|
|
@ -27,9 +27,9 @@ def parse(infotext):
|
||||||
if not isinstance(infotext, str):
|
if not isinstance(infotext, str):
|
||||||
return {}
|
return {}
|
||||||
debug(f'Raw: {infotext}')
|
debug(f'Raw: {infotext}')
|
||||||
if 'negative prompt:' not in infotext:
|
if 'negative prompt:' not in infotext.lower():
|
||||||
infotext = 'negative prompt: ' + infotext
|
infotext = 'negative prompt: ' + infotext
|
||||||
if 'Prompt:' not in infotext:
|
if 'prompt:' not in infotext.lower():
|
||||||
infotext = 'prompt: ' + infotext
|
infotext = 'prompt: ' + infotext
|
||||||
|
|
||||||
remaining = infotext
|
remaining = infotext
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue