From baa6b76b85bdbd04296a134bd1116d60c622908e Mon Sep 17 00:00:00 2001 From: mrq Date: Sun, 21 May 2023 23:20:39 +0000 Subject: [PATCH] added gradio API for changing AR model --- src/webui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webui.py b/src/webui.py index fc4ce78..368ec64 100755 --- a/src/webui.py +++ b/src/webui.py @@ -725,7 +725,8 @@ def setup_gradio(): EXEC_SETTINGS['autoregressive_model'].change( fn=update_autoregressive_model, inputs=EXEC_SETTINGS['autoregressive_model'], - outputs=None + outputs=None, + api_name="set_autoregressive_model" ) EXEC_SETTINGS['vocoder_model'].change(