From fe8822cb656fc236c114fdfa794b0861df92e145 Mon Sep 17 00:00:00 2001 From: Kasisnu <5044120+kasisnu@users.noreply.github.com> Date: Wed, 3 Jan 2024 11:47:07 +0530 Subject: [PATCH] ignore requests from rust runner to clear checkpoints explicitly --- tts/tacotron2_v1_early_fakeyou/vocodes_server.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tts/tacotron2_v1_early_fakeyou/vocodes_server.py b/tts/tacotron2_v1_early_fakeyou/vocodes_server.py index e0fbde6..f5ed3d0 100755 --- a/tts/tacotron2_v1_early_fakeyou/vocodes_server.py +++ b/tts/tacotron2_v1_early_fakeyou/vocodes_server.py @@ -257,8 +257,9 @@ class ApiHandler(): pipeline.maybe_load_hifigan(hifigan_vocoder_checkpoint_path) pipeline.maybe_load_hifigan_super_resolution(hifigan_superres_vocoder_checkpoint_path) - if maybe_clear_synthesizer_checkpoint_path: - pipeline.uncache_tacotron_model(maybe_clear_synthesizer_checkpoint_path) + + # if maybe_clear_synthesizer_checkpoint_path: + # pipeline.uncache_tacotron_model(maybe_clear_synthesizer_checkpoint_path) pipeline.maybe_load_tacotron_model_to_cache(synthesizer_checkpoint_path)