Describe the bug
When transcribing an image, the actual transcription can occur up to 4 times. This leads to transcriptions taking up more resources than is necessary.
This is due to the results of the call to transcribeImages() not being stored. Instead, every time that the result is needed, it is called again.
To Reproduce
Steps to reproduce the behavior:
Start the bot
Request a transcription
Notice that transcriptions take longer than they should
Observe code for fault.
Expected behavior
The bot should only process an image once during a transcription
Screenshots/Logs
N/A
Project information
Noticed end of M5
Additional context
Add any other context about the problem here.
Describe the bug When transcribing an image, the actual transcription can occur up to 4 times. This leads to transcriptions taking up more resources than is necessary.
This is due to the results of the call to
transcribeImages()
not being stored. Instead, every time that the result is needed, it is called again.To Reproduce Steps to reproduce the behavior:
Expected behavior The bot should only process an image once during a transcription
Screenshots/Logs N/A
Project information Noticed end of M5
Additional context Add any other context about the problem here.