This commit is contained in:
Saifeddine ALOUI 2024-05-20 13:30:21 +02:00
parent b5b92865b6
commit f5853c8163

View File

@ -380,7 +380,7 @@ class RTCom:
ASCIIColors.red(" -------------------------------------------------")
self.lc.info("Talking")
ASCIIColors.green("<<TALKING>>")
self.lc.tts.tts_to_audio(lollms_text, speaker=self.voice)
self.lc.tts.tts_to_audio(lollms_text, speaker=self.voice, file_name_or_path=str(Path(self.logs_folder)/filename)+"_answer.wave")
except Exception as ex:
trace_exception(ex)
self.block_listening = False