Replies: 1 comment
-
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.
-
Hello,
I am currently running the whisper model on my machine (Apple M2). Here is a code snippet that I am currently running:
The above code works since it's passing a file path from a physical audio. I want to pass a
AudioSegment
type to thetranscribe
method.Based on the information, I can pass in
numpy array
ortorch tensor
. But I get the following errors when I pass in thenp.array
ortorch.tensor
Can you please help me how I can get an AudioSegment object pass to the transcription method?
Beta Was this translation helpful? Give feedback.
All reactions