chore: remove remaining todos after analysis

refiner is added when set
restoring multiline prompts has been resolved by using separate parameters "raw_prompt" and "raw_negative_prompt"
This commit is contained in:
Manuel Schmid
2024-02-04 00:44:26 +01:00
parent 1419231e74
commit 8af73e622f
3 changed files with 0 additions and 5 deletions
-2
View File
@@ -300,7 +300,6 @@ def extract_styles_from_prompt(prompt, negative_prompt):
found_style = style
prompt = new_prompt
negative_prompt = new_neg_prompt
# TODO check how to resolve multiline input prompts
if real_prompt == '' and new_real_prompt != '' and new_real_prompt != prompt:
real_prompt = new_real_prompt
break
@@ -311,7 +310,6 @@ def extract_styles_from_prompt(prompt, negative_prompt):
applicable_styles.remove(found_style)
extracted.append(found_style.name)
# TODO check multiline prompt
# add prompt expansion if not all styles could be resolved
if prompt != '':
if real_prompt != '':