mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
for wss client no offline mode
This commit is contained in:
parent
ec70d21816
commit
800a3bc9d1
@ -194,7 +194,7 @@ async def message(id):
|
||||
text_print = text_print[-args.words_max_print:]
|
||||
os.system('clear')
|
||||
print("\rpid"+str(id)+": "+text_print)
|
||||
elif meg["mode"] == "online":
|
||||
elif meg["mode"] == "offline":
|
||||
text_print += "{}".format(text)
|
||||
text_print = text_print[-args.words_max_print:]
|
||||
os.system('clear')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user