mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-26 02:14:18 +01:00
Send the default input to the notebook textbox when switching 2 columns to 1 (instead of the output)
This commit is contained in:
parent
75217d3713
commit
fc23345c6d
|
|
@ -64,7 +64,7 @@ def handle_default_to_notebook_change(show_two_columns, default_input, default_o
|
|||
gr.update(visible=True),
|
||||
gr.update(visible=False),
|
||||
notebook_input,
|
||||
notebook_input,
|
||||
"",
|
||||
gr.update(value=notebook_prompt, choices=utils.get_available_prompts()),
|
||||
gr.update(),
|
||||
gr.update(),
|
||||
|
|
@ -77,7 +77,7 @@ def handle_default_to_notebook_change(show_two_columns, default_input, default_o
|
|||
gr.update(),
|
||||
gr.update(),
|
||||
gr.update(),
|
||||
default_output,
|
||||
default_input,
|
||||
gr.update(value=default_prompt, choices=utils.get_available_prompts())
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue