added gradio API for changing AR model

This commit is contained in:
mrq 2023-05-21 23:20:39 +00:00
parent 31da215c5f
commit baa6b76b85

View File

@ -725,7 +725,8 @@ def setup_gradio():
EXEC_SETTINGS['autoregressive_model'].change( EXEC_SETTINGS['autoregressive_model'].change(
fn=update_autoregressive_model, fn=update_autoregressive_model,
inputs=EXEC_SETTINGS['autoregressive_model'], inputs=EXEC_SETTINGS['autoregressive_model'],
outputs=None outputs=None,
api_name="set_autoregressive_model"
) )
EXEC_SETTINGS['vocoder_model'].change( EXEC_SETTINGS['vocoder_model'].change(