added some stuff

This commit is contained in:
Saifeddine ALOUI 2024-05-24 23:45:58 +02:00
parent b65fb56a6c
commit 3b975b2421

View File

@ -388,9 +388,10 @@ class RTCom:
#self.transcription_signal.update_status.emit("Listening")
def get_voices(self):
if self.lc.tts:
if self.lc.tts and self.lc.tts.ready:
voices = self.lc.tts.get_voices() # Assuming the response is in JSON format
return voices
return []
class WebcamImageSender: