forked from camenduru/ai-voice-cloning
fixed reload tts being broken due to being as untouched as I am
This commit is contained in:
parent
aeb904a800
commit
0408d44602
|
@ -2224,8 +2224,8 @@ def unload_tts():
|
|||
print("Unloaded TTS")
|
||||
do_gc()
|
||||
|
||||
def reload_tts( model=None ):
|
||||
load_tts( restart=True, model=model )
|
||||
def reload_tts():
|
||||
load_tts( restart=True )
|
||||
|
||||
def get_current_voice():
|
||||
global current_voice
|
||||
|
|
|
@ -588,7 +588,7 @@ def setup_gradio():
|
|||
gr.Button(value="Check for Updates").click(check_for_updates)
|
||||
gr.Button(value="(Re)Load TTS").click(
|
||||
reload_tts,
|
||||
inputs=EXEC_SETTINGS['autoregressive_model'],
|
||||
inputs=None,
|
||||
outputs=None
|
||||
)
|
||||
# kill_button = gr.Button(value="Close UI")
|
||||
|
|
Loading…
Reference in New Issue
Block a user