diff --git a/ovos_plugin_manager/utils/tts_cache.py b/ovos_plugin_manager/utils/tts_cache.py index 0b2ef5bf..177feebe 100644 --- a/ovos_plugin_manager/utils/tts_cache.py +++ b/ovos_plugin_manager/utils/tts_cache.py @@ -241,6 +241,7 @@ def __init__(self, tts_config, tts_name, audio_file_type): # only persist if utterance is spoken >= N times self.persist_thresh = self.config.get("persist_thresh", 1) self._sentence_count = {} + self.load_persistent_cache() def __contains__(self, sha): """The cache contains a SHA if it knows of it and it exists on disk."""