Use current input for Impersonate (continue impersonate feature) (#1147)
This commit is contained in:
parent
a5bb278631
commit
641500dcb9
2 changed files with 4 additions and 3 deletions
|
@ -714,6 +714,7 @@ def create_interface():
|
|||
|
||||
gen_events.append(shared.gradio['Impersonate'].click(
|
||||
ui.gather_interface_values, [shared.gradio[k] for k in shared.input_elements], shared.gradio['interface_state']).then(
|
||||
lambda x: x, shared.gradio['textbox'], shared.gradio['Chat input'], show_progress=False).then(
|
||||
chat.impersonate_wrapper, shared.input_params, shared.gradio['textbox'], show_progress=False)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue