mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-07 07:33:47 +00:00
Fix some events
This commit is contained in:
parent
8b7eb5c87c
commit
7cb2b1bfdb
2 changed files with 9 additions and 3 deletions
|
|
@ -344,7 +344,7 @@ def create_event_handlers():
|
|||
|
||||
shared.gradio['send_instruction_to_notebook'].click(
|
||||
ui.gather_interface_values, gradio(shared.input_elements), gradio('interface_state')).then(
|
||||
chat.handle_send_instruction_click, gradio('interface_state'), gradio('textbox-notebook'), show_progress=False).then(
|
||||
chat.handle_send_instruction_click, gradio('interface_state'), gradio('textbox-notebook', 'textbox-default', 'output_textbox'), show_progress=False).then(
|
||||
None, None, None, js=f'() => {{{ui.switch_tabs_js}; switch_to_notebook()}}')
|
||||
|
||||
shared.gradio['send-chat-to-notebook'].click(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue