Show progress on impersonate

This commit is contained in:
oobabooga 2023-09-13 11:22:53 -07:00
parent 7cd437e05c
commit 8ce94b735c
2 changed files with 7 additions and 4 deletions

View file

@ -166,7 +166,7 @@ def create_event_handlers():
shared.gradio['Impersonate'].click(
ui.gather_interface_values, gradio(shared.input_elements), gradio('interface_state')).then(
lambda x: x, gradio('textbox'), gradio('Chat input'), show_progress=False).then(
chat.impersonate_wrapper, gradio(inputs), gradio('textbox'), show_progress=False).then(
chat.impersonate_wrapper, gradio(inputs), gradio('textbox', 'display'), show_progress=False).then(
ui.gather_interface_values, gradio(shared.input_elements), gradio('interface_state')).then(
lambda: None, None, None, _js=f'() => {{{ui.audio_notification_js}}}')