Leon4gr45's picture
Upload folder using huggingface_hub (part 5)
19e88d2 verified
Raw
History Blame Contribute Delete
437 Bytes
/**
* This function allow to retrieve either a FileBlob or a WebBlob from a URL.
*
* From the backend:
* - support local files
* - support http resources with absolute URLs
*
* From the frontend:
* - support http resources with absolute or relative URLs
*/
export declare function createBlob(url: URL, opts?: {
fetch?: typeof fetch;
accessToken?: string;
}): Promise<Blob>;
//# sourceMappingURL=createBlob.d.ts.map