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])