From a60e99cd6e21706853e7aaef331330de2c2a0f3c Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Fri, 20 Sep 2024 00:31:48 +0200 Subject: [PATCH] fix --- voice_recognition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voice_recognition.py b/voice_recognition.py index d7daea6..fcfe220 100644 --- a/voice_recognition.py +++ b/voice_recognition.py @@ -163,7 +163,7 @@ class Transcriber(commands.Cog): item[3] = False #buffer rotated item[0].rotate() #temporary - will be put in separate thread - self.transcribe(item[0].file_name_past) + await self.transcribe(item[0].file_name_past) #ensure only files with minimum length are sent to transcription item[2] = False logger.info("Diff : %s", time.time_ns() - item[1])