mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
更新paddlespeechtts供应器
This commit is contained in:
parent
15291bfcf2
commit
9af77d0f47
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ class TTSProvider(TTSProviderBase):
|
|||
volume = config.get("volume", 1.0)
|
||||
self.volume = float(volume) if volume else 1.0
|
||||
|
||||
self.delete_audio_file = config.get("delete_audio_file", True)
|
||||
self.delete_audio_file = config.get("delete_audio", True)
|
||||
if not self.delete_audio_file:
|
||||
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
||||
self.save_path = config.get("save_path", f"./streaming_tts_{timestamp}.wav")
|
||||
|
|
|
|||
Loading…
Reference in a new issue