-
Notifications
You must be signed in to change notification settings - Fork 243
Closed
Description
I’m using the code below to get the buffer from the URL returned in the response (MusicGen) (https://replicate.delivery/yhqm/6qeYFuueorg8eIu3G6BdDM4lMhRPNutBldYfh5VDYnC2wxZPB/out.mp3). However, it doesn’t work.
import fetch from 'node-fetch';
export const getBufferFromUrl = async (url) => {
return await (await fetch(url)).buffer();
};
I tried copying the URL and opening it in Arc, but it couldn’t open the file. However, it works fine in Chrome.
ARC
Chrome
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

