Skip to content

Commit

Permalink
feat: always show image_extension element
Browse files Browse the repository at this point in the history
this is now possible due to image extension support in gradio via lllyasviel#1932
  • Loading branch information
mashb1t committed Jan 14, 2024
1 parent dc6c025 commit 2b802da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,7 @@ def ip_advance_checked(x):

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,
Expand Down

0 comments on commit 2b802da

Please sign in to comment.