mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-31 12:53:27 -08:00
lint
This commit is contained in:
parent
41bb886979
commit
8ea1325fdc
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ def split_infotext(x: str):
|
|||
|
||||
def parameters_to_dict(parameters: str):
|
||||
"""convert parameters from string to dict"""
|
||||
return {k: v for k, v in re_param.findall(parameters)}
|
||||
return dict(re_param.findall(parameters))
|
||||
|
||||
|
||||
def parse_parameters(param_dict: dict):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue