mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
fix log for multiple-line prompts
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
version = '2.1.716'
|
version = '2.1.717'
|
||||||
|
|||||||
@@ -264,7 +264,9 @@ def worker():
|
|||||||
c=None,
|
c=None,
|
||||||
uc=None,
|
uc=None,
|
||||||
positive_top_k=len(positive_basic_workloads),
|
positive_top_k=len(positive_basic_workloads),
|
||||||
negative_top_k=len(negative_basic_workloads)
|
negative_top_k=len(negative_basic_workloads),
|
||||||
|
log_positive_prompt='\n'.join([task_prompt] + task_extra_positive_prompts),
|
||||||
|
log_negative_prompt='\n'.join([task_negative_prompt] + task_extra_negative_prompts),
|
||||||
))
|
))
|
||||||
|
|
||||||
if use_expansion:
|
if use_expansion:
|
||||||
@@ -538,8 +540,8 @@ def worker():
|
|||||||
|
|
||||||
for x in imgs:
|
for x in imgs:
|
||||||
d = [
|
d = [
|
||||||
('Prompt', task['task_prompt']),
|
('Prompt', task['log_positive_prompt']),
|
||||||
('Negative Prompt', task['task_negative_prompt']),
|
('Negative Prompt', task['log_negative_prompt']),
|
||||||
('Fooocus V2 Expansion', task['expansion']),
|
('Fooocus V2 Expansion', task['expansion']),
|
||||||
('Styles', str(raw_style_selections)),
|
('Styles', str(raw_style_selections)),
|
||||||
('Performance', performance_selection),
|
('Performance', performance_selection),
|
||||||
|
|||||||
Reference in New Issue
Block a user