diff --git a/voice_recognition.py b/voice_recognition.py index b2dd518..d7daea6 100644 --- a/voice_recognition.py +++ b/voice_recognition.py @@ -127,7 +127,7 @@ class Transcriber(commands.Cog): self.comm_queue = Queue() self.wsink = SRBuffer(self.comm_queue) - async def transcribe(file_url): + async def transcribe(self,file_url): config = aai.TranscriptionConfig(speaker_labels=True, language_code="pl") transcriber = aai.Transcriber()