* Taller input textbox.
This commit is contained in:
lllyasviel 2023-08-13 17:34:22 -07:00 committed by GitHub
parent 6fe3f41bb8
commit 8cf4b0dd9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 4 deletions

View File

@ -1 +1 @@
version = '1.0.23'
version = '1.0.24'

View File

@ -68,6 +68,10 @@ progress::after {
height: 30px !important;
}
.type_row{
height: 80px !important;
}
'''
progress_html = '''
<div class="loader-container">

View File

@ -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.

View File

@ -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: