Commit Graph

6 Commits (dev)

Author SHA1 Message Date
Chris Veilleux 48e691a66f add deprecation warnings to the logic the new cache logic replaces. 2021-03-10 13:39:30 -06:00
Chris Veilleux 042a23879c Don't build the cache directory if it already exists. 2021-01-14 18:00:58 -06:00
Chris Veilleux a52d45ffff Re-added argument removed in previous commit to preserve backwards compatibility. 2021-01-14 14:29:44 -06:00
Chris Veilleux 91b1a9a15c Fixed an error that occurs when the pre-loaded cache directory already exists but the cache_text.txt file does not. 2021-01-13 21:47:09 -06:00
Åke Forslund 5ed417cddb Small style fixes
- Remove unneccessary pass
- Fix bare except statements
- Fix identation
2019-05-13 16:48:15 +02:00
Ruthvicp 90ccae2f69 Cache pre-loading for mimic2
When the mimic2 TTS instance is created the phrases from mycroft-core and mycroft-wifi setup (if available) is generated and stored locally (defaults to /opt/mycroft/preloaded_cache but can be changed with the mimic2 config parameter "preloaded_cache"

On startup the cache will be copied into the cache directory to speed up default interactions.
2019-05-13 14:33:30 +02:00