All demos

Kokoro keeps speaking after macOS cleans its temp folder

Shared by Daniel Sadilek on November 12, 2026
Area DemosPlatform Desktop browserKind Bug fix

On a Mac, the Kokoro demo voice stopped working a few days after its first use: every clip failed with "Directory not empty". Kokoro reads its speech data through a copy in the system's temporary folder, and macOS deletes files there that were not read for three days, leaving the folders behind. Each clip now puts back whatever the copy is missing, so Kokoro keeps speaking however long ago it was first used.