refactor: change label

This commit is contained in:
Manuel Schmid 2024-01-14 14:25:01 +01:00
parent 694763447d
commit d79c1d5a27
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
1 changed files with 3 additions and 4 deletions

View File

@ -231,12 +231,11 @@ with shared.gradio_root:
elem_classes='aspect_ratios')
image_number = gr.Slider(label='Image Number', minimum=1, maximum=modules.config.default_max_image_number, step=1, value=modules.config.default_image_number)
image_extension = gr.Radio(label='Image Extension',
image_extension = gr.Radio(label='Image Outputs Extension',
choices=modules.flags.image_extensions,
value=modules.config.default_image_extension,
# disable and hide if image log is disabled
visible=(not args_manager.args.disable_image_log),
interactive=(not args_manager.args.disable_image_log))
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.",
info='Describing what you do not want to see.', lines=2,