Skip to content

Commit 461c178

Browse files
committed
Merge branch 'main_upstream' into develop
# Conflicts: # fooocus_version.py # language/en.json # update_log.md # webui.py
2 parents 97b51dd + 2c78cec commit 461c178

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

fooocus_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = '2.6.2 (mashb1t)'
1+
version = '2.6.3 (mashb1t)'

language/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"Content Type": "Content Type",
1818
"Photograph": "Photograph",
1919
"Art/Anime": "Art/Anime",
20-
"Appy Styles": "Appy Styles",
20+
"Apply Styles": "Apply Styles",
2121
"Describe this Image into Prompt": "Describe this Image into Prompt",
2222
"Image Size and Recommended Size": "Image Size and Recommended Size",
2323
"Upscale or Variation:": "Upscale or Variation:",

update_log.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# [2.6.3](https://github.com/mashb1t/Fooocus/releases/tag/v2.6.3)
2+
3+
* Only load weights from non-safetensors files, preventing harmful code injection
4+
* Add checkbox for applying/resetting styles when describing images, also allowing multiple describe content types
5+
16
# [2.6.2](https://github.com/mashb1t/Fooocus/releases/tag/v2.6.2)
27

38
* Fix not adding positive prompt when styles didn't have a {prompt} placeholder in the positive prompt

webui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def generate_mask(image, mask_model, cloth_category, dino_prompt_text, sam_model
341341
label='Content Type',
342342
choices=flags.describe_types,
343343
value=modules.config.default_describe_content_type)
344-
describe_apply_styles = gr.Checkbox(label='Appy Styles', value=modules.config.default_describe_apply_prompts_checkbox)
344+
describe_apply_styles = gr.Checkbox(label='Apply Styles', value=modules.config.default_describe_apply_prompts_checkbox)
345345
describe_btn = gr.Button(value='Describe this Image into Prompt')
346346
describe_image_size = gr.Textbox(label='Image Size and Recommended Size', elem_id='describe_image_size', visible=False)
347347
gr.HTML('<a href="https://github.com/lllyasviel/Fooocus/discussions/1363" target="_blank">\U0001F4D4 Documentation</a>')

0 commit comments

Comments
 (0)