mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
fx
This commit is contained in:
@@ -209,9 +209,11 @@ class Transcriber(commands.Cog):
|
||||
logger.info("Queue ended")
|
||||
break
|
||||
elif "send_file" in item.type:
|
||||
logger.info("Sending file for transcription")
|
||||
transcript = ""
|
||||
for iter in item.data:
|
||||
transcript = transcriber.transcribe(iter, config=config)
|
||||
logger.info("Data sent")
|
||||
for utterance in transcript.utterances:
|
||||
logger.info("%s : %s", item.user, utterance.text)
|
||||
elif "user_cleanup" in item.type:
|
||||
|
||||
Reference in New Issue
Block a user