提交 25ee9605 编写于 作者: X xiongxinlei

refair the acs note, test=doc

上级 35350794
......@@ -828,12 +828,12 @@ class ACSClientExecutor(BaseExecutor):
str: The ACS results
"""
# we use the acs server to get the key word time stamp in audio text content
logger.info("asr http client start")
logger.info("acs http client start")
from paddlespeech.server.utils.audio_handler import ASRHttpHandler
handler = ASRHttpHandler(
server_ip=server_ip, port=port, endpoint="/paddlespeech/asr/search")
res = handler.run(input, audio_format, sample_rate, lang)
res = res['result']
logger.info("asr http client finished")
logger.info("acs http client finished")
return res
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册