mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-09 06:45:09 +00:00
Removed incorrect comments
This commit is contained in:
@@ -4478,12 +4478,12 @@ def line_to_prompt_dict(line: str) -> dict:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
m = re.match(r"ss (.+)", parg, re.IGNORECASE)
|
m = re.match(r"ss (.+)", parg, re.IGNORECASE)
|
||||||
if m: # negative prompt
|
if m:
|
||||||
prompt_dict['sample_sampler'] = m.group(1)
|
prompt_dict['sample_sampler'] = m.group(1)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
m = re.match(r"cn (.+)", parg, re.IGNORECASE)
|
m = re.match(r"cn (.+)", parg, re.IGNORECASE)
|
||||||
if m: # negative prompt
|
if m:
|
||||||
prompt_dict['controlnet_image'] = m.group(1)
|
prompt_dict['controlnet_image'] = m.group(1)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user