提交 a5605978 编写于 作者: X xiongxinlei

update the acs note, test=doc

上级 a83374a7
......@@ -752,6 +752,7 @@ class VectorClientExecutor(BaseExecutor):
res = handler.run(enroll_audio, test_audio, audio_format,
sample_rate)
logger.info(f"The vector score is: {res}")
return res
else:
logger.error(f"Sorry, we have not support such task {task}")
......
......@@ -118,12 +118,6 @@ class ACSEngine(BaseEngine):
msg = ws.recv()
msg = json.loads(msg)
logger.info(f"audio result: {msg}")
# samples, sample_rate = soundfile.read(audio_data, dtype='int16')
# ws.send_binary(samples.tobytes())
# msg = ws.recv()
# msg = json.loads(msg)
# logger.info(f"audio result: {msg}")
# 3. send chunk audio data to engine
logger.info("send the end signal")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册