Skip to content

Commit 538aa8f

Browse files
committed
fix: reduce prompt box height and show image input ui
1 parent 6308fb8 commit 538aa8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def generate_clicked(task: worker.AsyncTask):
115115
with gr.Row(elem_classes='type_row'):
116116
with gr.Column(scale=17):
117117
prompt = gr.Textbox(show_label=False, placeholder="Type prompt here or paste parameters.", elem_id='positive_prompt',
118-
container=False, autofocus=True, elem_classes='type_row', lines=1024)
118+
container=False, autofocus=True, elem_classes='type_row', lines=10)
119119

120120
default_prompt = modules.config.default_prompt
121121
if isinstance(default_prompt, str) and default_prompt != '':
@@ -146,7 +146,7 @@ def skip_clicked(currentTask):
146146
with gr.Row(elem_classes='advanced_check_row'):
147147
input_image_checkbox = gr.Checkbox(label='Input Image', value=False, container=False, elem_classes='min_check')
148148
advanced_checkbox = gr.Checkbox(label='Advanced', value=modules.config.default_advanced_checkbox, container=False, elem_classes='min_check')
149-
with gr.Row(visible=False) as image_input_panel:
149+
with gr.Row(visible=True) as image_input_panel:
150150
with gr.Tabs():
151151
with gr.TabItem(label='Upscale or Variation') as uov_tab:
152152
with gr.Row():

0 commit comments

Comments
 (0)