Skip to content

Commit

Permalink
Added more information about prompts in Private Log, made wildcards i…
Browse files Browse the repository at this point in the history
…n negative prompt use different seed
  • Loading branch information
MoonRide303 committed Oct 20, 2023
1 parent 898fcb7 commit 48d2fb8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fooocus_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '2.1.710'
version = '2.1.711'
9 changes: 6 additions & 3 deletions modules/async_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def handler(args):
for i in range(image_number):
task_seed = seed + i
task_prompt = apply_wildcards(prompt, task_seed)
task_negative_prompt = apply_wildcards(negative_prompt, task_seed)
task_negative_prompt = apply_wildcards(negative_prompt, task_seed + 1)
task_extra_positive_prompts = [apply_wildcards(pmt, task_seed) for pmt in extra_positive_prompts]
task_extra_negative_prompts = [apply_wildcards(pmt, task_seed) for pmt in extra_negative_prompts]

Expand All @@ -257,6 +257,7 @@ def handler(args):
tasks.append(dict(
task_seed=task_seed,
task_prompt=task_prompt,
task_negative_prompt=task_negative_prompt,
positive=positive_basic_workloads,
negative=negative_basic_workloads,
expansion='',
Expand Down Expand Up @@ -539,8 +540,10 @@ def callback(step, x0, x, total_steps, y):

for x in imgs:
d = [
('Prompt', raw_prompt),
('Negative Prompt', raw_negative_prompt),
('Prompt', task['task_prompt']),
('Prompt (raw)', raw_prompt),
('Negative Prompt', task['task_negative_prompt']),
('Negative Prompt (raw)', raw_negative_prompt),
('Fooocus V2 Expansion', task['expansion']),
('Styles', str(raw_style_selections)),
('Performance', performance_selection),
Expand Down
5 changes: 5 additions & 0 deletions update_log.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.1.711

* Added more information about prompts in Private Log.
* Made wildcards in negative prompt use different seed.

# 2.1.710

* Added information about wildcards usage in console log.
Expand Down

0 comments on commit 48d2fb8

Please sign in to comment.