mirror of
https://github.com/vladmandic/automatic
synced 2026-09-07 21:40:46 +02:00
fix capitalization
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user