mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 04:37:54 +00:00
added some stuff
This commit is contained in:
parent
b65fb56a6c
commit
3b975b2421
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user