From 78e48825ae14139131eb0d308e0da6286139342c Mon Sep 17 00:00:00 2001 From: kinaryml Date: Sat, 11 Mar 2023 07:39:34 -0800 Subject: [PATCH] Make create_audio_record not a static method --- mediapipe/tasks/python/audio/core/base_audio_task_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/tasks/python/audio/core/base_audio_task_api.py b/mediapipe/tasks/python/audio/core/base_audio_task_api.py index 80e8ad605..73b1273cd 100644 --- a/mediapipe/tasks/python/audio/core/base_audio_task_api.py +++ b/mediapipe/tasks/python/audio/core/base_audio_task_api.py @@ -127,8 +127,8 @@ class BaseAudioTaskApi(object): + self._running_mode.name) self._runner.send(inputs) - @staticmethod def create_audio_record( + self, num_channels: int, sample_rate: int, required_input_buffer_size: int