Update webui.py
Browse files
webui.py
CHANGED
@@ -112,7 +112,7 @@ with shared.gradio_root:
|
|
112 |
with gr.Row(elem_classes='type_row'):
|
113 |
with gr.Column(scale=17):
|
114 |
prompt = gr.Textbox(show_label=False, placeholder="Type prompt here or paste parameters.", elem_id='positive_prompt',
|
115 |
-
container=True, autofocus=True, elem_classes='type_row',
|
116 |
|
117 |
default_prompt = modules.config.default_prompt
|
118 |
if isinstance(default_prompt, str) and default_prompt != '':
|
@@ -254,7 +254,7 @@ with shared.gradio_root:
|
|
254 |
ip_tab.select(lambda: 'ip', outputs=current_tab, queue=False, _js=down_js, show_progress=False)
|
255 |
desc_tab.select(lambda: 'desc', outputs=current_tab, queue=False, _js=down_js, show_progress=False)
|
256 |
|
257 |
-
with gr.Row(visible=False) as advanced_column:
|
258 |
with gr.Tabs():
|
259 |
with gr.TabItem(label='Setting'):
|
260 |
performance_selection = gr.Radio(label='Performance',
|
|
|
112 |
with gr.Row(elem_classes='type_row'):
|
113 |
with gr.Column(scale=17):
|
114 |
prompt = gr.Textbox(show_label=False, placeholder="Type prompt here or paste parameters.", elem_id='positive_prompt',
|
115 |
+
container=True, autofocus=True, elem_classes='type_row', show_copy_button=True)
|
116 |
|
117 |
default_prompt = modules.config.default_prompt
|
118 |
if isinstance(default_prompt, str) and default_prompt != '':
|
|
|
254 |
ip_tab.select(lambda: 'ip', outputs=current_tab, queue=False, _js=down_js, show_progress=False)
|
255 |
desc_tab.select(lambda: 'desc', outputs=current_tab, queue=False, _js=down_js, show_progress=False)
|
256 |
|
257 |
+
with gr.Row(visible=False, elem_id="advancedFixed") as advanced_column:
|
258 |
with gr.Tabs():
|
259 |
with gr.TabItem(label='Setting'):
|
260 |
performance_selection = gr.Radio(label='Performance',
|