From 538aa8fcff33042b3c1fcf6ce4abd94e32d3ca52 Mon Sep 17 00:00:00 2001 From: tjex Date: Thu, 23 May 2024 19:23:15 +1000 Subject: [PATCH] fix: reduce prompt box height and show image input ui --- webui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui.py b/webui.py index 98780bff71..ebd5102149 100644 --- a/webui.py +++ b/webui.py @@ -115,7 +115,7 @@ def generate_clicked(task: worker.AsyncTask): with gr.Row(elem_classes='type_row'): with gr.Column(scale=17): prompt = gr.Textbox(show_label=False, placeholder="Type prompt here or paste parameters.", elem_id='positive_prompt', - container=False, autofocus=True, elem_classes='type_row', lines=1024) + container=False, autofocus=True, elem_classes='type_row', lines=10) default_prompt = modules.config.default_prompt if isinstance(default_prompt, str) and default_prompt != '': @@ -146,7 +146,7 @@ def skip_clicked(currentTask): with gr.Row(elem_classes='advanced_check_row'): input_image_checkbox = gr.Checkbox(label='Input Image', value=False, container=False, elem_classes='min_check') advanced_checkbox = gr.Checkbox(label='Advanced', value=modules.config.default_advanced_checkbox, container=False, elem_classes='min_check') - with gr.Row(visible=False) as image_input_panel: + with gr.Row(visible=True) as image_input_panel: with gr.Tabs(): with gr.TabItem(label='Upscale or Variation') as uov_tab: with gr.Row():