From 8cf4b0dd9cd67e33639300738516f6b2b8518198 Mon Sep 17 00:00:00 2001 From: lllyasviel Date: Sun, 13 Aug 2023 17:34:22 -0700 Subject: [PATCH] 1.0.24 * Taller input textbox. --- fooocus_version.py | 2 +- modules/html.py | 4 ++++ update_log.md | 4 ++++ webui.py | 6 +++--- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/fooocus_version.py b/fooocus_version.py index b653960e..ffb1ad57 100644 --- a/fooocus_version.py +++ b/fooocus_version.py @@ -1 +1 @@ -version = '1.0.23' +version = '1.0.24' diff --git a/modules/html.py b/modules/html.py index 0e031cc9..8a099401 100644 --- a/modules/html.py +++ b/modules/html.py @@ -68,6 +68,10 @@ progress::after { height: 30px !important; } +.type_row{ + height: 80px !important; +} + ''' progress_html = '''
diff --git a/update_log.md b/update_log.md index 5f2d9e59..647cc7ff 100644 --- a/update_log.md +++ b/update_log.md @@ -1,3 +1,7 @@ +### 1.0.24 + +* Taller input textbox. + ### 1.0.23 * Added some hints on linux after UI start so users know the App does not fail. diff --git a/webui.py b/webui.py index 17af82f5..408ee3d5 100644 --- a/webui.py +++ b/webui.py @@ -45,11 +45,11 @@ with shared.gradio_root: progress_window = gr.Image(label='Preview', show_label=True, height=640, visible=False) progress_html = gr.HTML(value=modules.html.make_progress_html(32, 'Progress 32%'), visible=False, elem_id='progress-bar', elem_classes='progress-bar') gallery = gr.Gallery(label='Gallery', show_label=False, object_fit='contain', height=720, visible=True) - with gr.Row(): + with gr.Row(elem_classes='type_row'): with gr.Column(scale=0.85): - prompt = gr.Textbox(show_label=False, placeholder="Type prompt here.", container=False, autofocus=True) + prompt = gr.Textbox(show_label=False, placeholder="Type prompt here.", container=False, autofocus=True, elem_classes='type_row', lines=1024) with gr.Column(scale=0.15, min_width=0): - run_button = gr.Button(label="Generate", value="Generate") + run_button = gr.Button(label="Generate", value="Generate", elem_classes='type_row') with gr.Row(): advanced_checkbox = gr.Checkbox(label='Advanced', value=False, container=False) with gr.Column(scale=0.5, visible=False) as right_col: