refair the acs note, test=doc

pull/1906/head
xiongxinlei 2 years ago
parent 3535079434
commit 25ee960571

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

Loading…
Cancel
Save