From 4d067e9b5213657e350f835056ef13028326de27 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 14 Aug 2023 09:39:06 -0700 Subject: [PATCH] Add back a variable to keep old extensions working --- modules/ui_chat.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ui_chat.py b/modules/ui_chat.py index d8179867..fc850ea3 100644 --- a/modules/ui_chat.py +++ b/modules/ui_chat.py @@ -121,7 +121,10 @@ def create_chat_settings_ui(): def create_event_handlers(): gen_events = [] - shared.input_params = gradio(inputs) # Obsolete, kept for compatibility with old extensions + + # Obsolete variables, kept for compatibility with old extensions + shared.input_params = gradio(inputs) + shared.reload_inputs = gradio(reload_arr) gen_events.append(shared.gradio['Generate'].click( ui.gather_interface_values, gradio(shared.input_elements), gradio('interface_state')).then(