Skip to content

Commit

Permalink
fix: reduce prompt box height and show image input ui
Browse files Browse the repository at this point in the history
  • Loading branch information
tjex committed May 23, 2024
1 parent 6308fb8 commit 538aa8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 != '':
Expand Down Expand Up @@ -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():
Expand Down

0 comments on commit 538aa8f

Please sign in to comment.