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