How to convert <class 'anvil._serialise.StreamingMedia'> to tensor

i upload an audio it comes to colab in the from of <class ‘anvil._serialise.StreamingMedia’> , so i need to convert to tensor somehow ?
how do i do ?

Welcome to the forum, @pes1ug19cs357!

Uploaded data arrives as a Media object, but you can convert an Anvil Media object into a temporary file, then read it from the filesystem like you would read any other audio file. Check out the relevant section of the manual:

1 Like