Skip to content

Commit

Permalink
Removed incorrect comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shirayu committed Oct 29, 2023
1 parent cf876fc commit 40d917b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/train_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -4478,12 +4478,12 @@ def line_to_prompt_dict(line: str) -> dict:
continue

m = re.match(r"ss (.+)", parg, re.IGNORECASE)
if m: # negative prompt
if m:
prompt_dict['sample_sampler'] = m.group(1)
continue

m = re.match(r"cn (.+)", parg, re.IGNORECASE)
if m: # negative prompt
if m:
prompt_dict['controlnet_image'] = m.group(1)
continue

Expand Down

0 comments on commit 40d917b

Please sign in to comment.