mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 07:42:09 +00:00
Bugfix
This commit is contained in:
@@ -197,10 +197,10 @@ class Transcriber(commands.Cog):
|
|||||||
logger.info("Transcript worker start")
|
logger.info("Transcript worker start")
|
||||||
config = aai.TranscriptionConfig(speaker_labels=True, language_code="pl")
|
config = aai.TranscriptionConfig(speaker_labels=True, language_code="pl")
|
||||||
transcriber = aai.Transcriber()
|
transcriber = aai.Transcriber()
|
||||||
logger.info("Transcriber queue id: %s",id(self.queue))
|
logger.info("Transcriber queue id: %s",id(self.comm_queue))
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
item = self.queue.get()
|
item = self.comm_queue.get()
|
||||||
logger.info("Got %s", item)
|
logger.info("Got %s", item)
|
||||||
if item.type == "STOP":
|
if item.type == "STOP":
|
||||||
logger.info("Queue ended")
|
logger.info("Queue ended")
|
||||||
|
|||||||
Reference in New Issue
Block a user