mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
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:
@@ -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 != '':
|
||||
|
||||
Reference in New Issue
Block a user