This commit is contained in:
2024-09-20 17:04:16 +02:00
parent 80c69a8823
commit 590ab187d8
+2 -2
View File
@@ -197,10 +197,10 @@ class Transcriber(commands.Cog):
logger.info("Transcript worker start")
config = aai.TranscriptionConfig(speaker_labels=True, language_code="pl")
transcriber = aai.Transcriber()
logger.info("Transcriber queue id: %s",id(self.queue))
logger.info("Transcriber queue id: %s",id(self.comm_queue))
while True:
item = self.queue.get()
item = self.comm_queue.get()
logger.info("Got %s", item)
if item.type == "STOP":
logger.info("Queue ended")