mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
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:
@@ -238,9 +238,7 @@ with shared.gradio_root:
|
|||||||
|
|
||||||
image_extension = gr.Radio(label='Image Outputs Extension',
|
image_extension = gr.Radio(label='Image Outputs Extension',
|
||||||
choices=modules.flags.image_extensions,
|
choices=modules.flags.image_extensions,
|
||||||
value=modules.config.default_image_extension,
|
value=modules.config.default_image_extension)
|
||||||
visible=not args_manager.args.disable_image_log,
|
|
||||||
interactive=not args_manager.args.disable_image_log)
|
|
||||||
|
|
||||||
negative_prompt = gr.Textbox(label='Negative Prompt', show_label=True, placeholder="Type prompt here.",
|
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,
|
info='Describing what you do not want to see.', lines=2,
|
||||||
|
|||||||
Reference in New Issue
Block a user