update the acs note, test=doc

pull/1954/head
xiongxinlei 3 years ago
parent a83374a787
commit a5605978fa

@ -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")

Loading…
Cancel
Save