From 78e5f2205bc97151ed6e54445b761c81918d2dbb Mon Sep 17 00:00:00 2001 From: boocmp Date: Mon, 1 Apr 2024 18:10:14 +0700 Subject: [PATCH] process-audio-data --- src/service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service.py b/src/service.py index 63fe58c..5ed7029 100644 --- a/src/service.py +++ b/src/service.py @@ -21,6 +21,6 @@ async def process_audio(input_file: io.BytesIO): return transcript @svc.api(input=File(), output=JSON()) -async def process_audio(input_file: io.BytesIO): - transcript = await runner_audio_transcriber.transcribe_audio.async_run(input_file.read()) +async def process_audio_data(input_file: io.BytesIO): + transcript = await runner_audio_transcriber.transcribe_audio_data.async_run(input_file.read()) return transcript \ No newline at end of file