This commit is contained in:
yumoqing 2024-09-04 19:47:51 +08:00
parent 28b4471b28
commit a8bb8edef5

View File

@ -34,6 +34,8 @@ opts = {
}
async def asr(a_file):
if not a_file:
return
oc = OAuthClient(DictObject(**opts))
r = await oc('http://open-computing.cn', 'asr', {'audio_file':f})
print(f'{r=}')