mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
feat: only process enhance when checkbox is set
similar to input image
This commit is contained in:
@@ -895,7 +895,7 @@ with shared.gradio_root:
|
||||
ctrls += [save_metadata_to_images, metadata_scheme]
|
||||
|
||||
ctrls += ip_ctrls
|
||||
ctrls += [debugging_dino, dino_erode_or_dilate] + enhance_ctrls
|
||||
ctrls += [debugging_dino, dino_erode_or_dilate, enhance_checkbox] + enhance_ctrls
|
||||
|
||||
def parse_meta(raw_prompt_txt, is_generating):
|
||||
loaded_json = None
|
||||
|
||||
Reference in New Issue
Block a user