mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 23:02:00 +03:00
fix broken output info in img2img to highlight parameters like in txt2img (#1289)
- change gr.Textbox to gr.Highlightedtext like in txt2img
This commit is contained in:
parent
6ae84c6c3a
commit
acb051e9f5
@ -247,7 +247,9 @@ def draw_gradio_ui(opt, img2img=lambda x: x, txt2img=lambda x: x, imgproc=lambda
|
||||
|
||||
gr.Markdown("Warning: This will clear your current image and mask settings!")
|
||||
with gr.TabItem("Output info", id="img2img_output_info_tab"):
|
||||
output_img2img_params = gr.Textbox(label="Generation parameters")
|
||||
output_img2img_params = gr.Highlightedtext(
|
||||
label="Generation parameters", interactive=False,
|
||||
elem_id='highlight')
|
||||
with gr.Row():
|
||||
output_img2img_copy_params = gr.Button("Copy full parameters").click(
|
||||
inputs=output_img2img_params, outputs=[],
|
||||
|
Loading…
Reference in New Issue
Block a user