Saving an audio file to S3

harsha_dataiku
harsha_dataiku Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 4

Hi, I am trying to perform a Text-to-Speech conversion task, I am able to convert the text using the gTTS library in python, but when I am trying to save it to a S3 folder. I am getting an empty file. But saving it locally and playing in the notebook works. Let me know if there is a way to save audio files in S3. Thanks. Attaching the code for reference.

Best Answer

Setup Info
    Tags
      Help me…