Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error while trying to use the MediaTranslation API

Hi, I am trying to test the Media Translation API to translate a file called audio.wav with the code provided at https://github.com/googleapis/python-media-translation/blob/main/samples/snippets/translate_from_fil... but when I run it I get this result:

MiguelCh_0-1681356096352.png

Can anyone tell me what can be the problem?

I have previously used the audio.raw file and it worked fine, the problem is when I try to use the audio.wav file.

1 2 211
2 REPLIES 2