mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
wss sdk bug
This commit is contained in:
parent
eebe29719b
commit
a79efa3b8d
@ -80,7 +80,8 @@ class NlsTtsSynthesizer:
|
||||
self.started = True
|
||||
|
||||
def send_text(self, text):
|
||||
self.sdk.sendStreamInputTts(text)
|
||||
if len(text) > 0:
|
||||
self.sdk.sendStreamInputTts(text)
|
||||
|
||||
def stop(self):
|
||||
self.sdk.stopStreamInputTts()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user