How to fetch a recorded audio to transcribe using transcribe () method? #1789
Unanswered
jayantabas1
asked this question in
Q&A
Replies: 1 comment
-
Since the FileStorage type is a wrapper over files, can you pass (not a Flask user, just going by documentation) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am developing a flask application , where I have incorporated whisper tiny model. I am recording an audio using js and defining backend route to transcibe the audio. Currently the problem is I have to save the audio locally first then by providing the path/<audio_name> to transcribe() method I am able to trabscribe the audio. Is there any other method to do that without saving audio locally? Need a workaround to do that.
def translate():
audio_file = request.files['audio']
Since the audio_file is a FileStorage type, How to make it transcribable so that transcribe method accept it as parameter?
Beta Was this translation helpful? Give feedback.
All reactions