fossasia / susi_linux

Hardware for SUSI AI https://susi.ai
Apache License 2.0
1.61k stars 148 forks source link

use temporary files instead of hard-coded in TTS #488

Closed norbusan closed 5 years ago

norbusan commented 5 years ago

When using flite or watson TTS, temporary files are created in the CWD and extra subdirectory of CWD, but that might not exist on desktop installations.

Use tempfile module to create temporary directories and clean them up automatically when processing is done.

mariobehling commented 5 years ago

Please resolve conflicts.

norbusan commented 5 years ago

Merged development branch