1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-30 19:07:39 +03:00

feat(python tcp server): run speech synthesis inference on CPU

This commit is contained in:
louistiti 2024-06-30 16:30:12 +08:00
parent fae15c9f4d
commit 74241b43fe
No known key found for this signature in database
GPG Key ID: 92CD6A2E497E1669

View File

@ -58,7 +58,7 @@ class TCPServer:
return
self.tts = TTS(language='EN',
device='auto',
device='cpu',
config_path=TTS_MODEL_CONFIG_PATH,
ckpt_path=TTS_MODEL_PATH
)