mirror of
https://github.com/5shekel/stable-diffusion-telegram-bot.git
synced 2024-05-22 19:33:14 +03:00
lowercase all payalod keys
This commit is contained in:
parent
b25fc3021c
commit
b091048df1
2
main.py
2
main.py
|
@ -76,7 +76,7 @@ def parse_input(input_string):
|
|||
|
||||
# Iterate over the found keys
|
||||
for match in matches:
|
||||
key = match.group(1)
|
||||
key = match.group(1).lower() # Convert the key to lowercase
|
||||
value_start_index = match.end()
|
||||
|
||||
# If there's text between the last key and the current key, add it to the prompt
|
||||
|
|
Loading…
Reference in New Issue
Block a user