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
This commit is contained in:
Manuel Schmid 2024-01-14 21:59:24 +01:00
parent dc6c02540a
commit 2b802da365
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
1 changed files with 1 additions and 3 deletions

View File

@ -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,