From 2b802da365c513e54c5c21a63e6770b99a141fc3 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Sun, 14 Jan 2024 21:59:24 +0100 Subject: [PATCH] feat: always show image_extension element this is now possible due to image extension support in gradio via https://github.com/lllyasviel/Fooocus/pull/1932 --- webui.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webui.py b/webui.py index ca95dd4d..467dc5cb 100644 --- a/webui.py +++ b/webui.py @@ -238,9 +238,7 @@ with shared.gradio_root: image_extension = gr.Radio(label='Image Outputs Extension', choices=modules.flags.image_extensions, - value=modules.config.default_image_extension, - visible=not args_manager.args.disable_image_log, - interactive=not args_manager.args.disable_image_log) + value=modules.config.default_image_extension) negative_prompt = gr.Textbox(label='Negative Prompt', show_label=True, placeholder="Type prompt here.", info='Describing what you do not want to see.', lines=2,