ignore requests from rust runner to clear checkpoints explicitly

This commit is contained in:
Kasisnu
2024-01-03 11:47:07 +05:30
parent 2a9f8a297b
commit fe8822cb65
@@ -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)