Type Alias: CombinedModelDownloaderOptions
ts
type CombinedModelDownloaderOptions = {
showCliProgress: boolean;
onProgress: (status: {
totalSize: number;
downloadedSize: number;
}) => void;
parallelDownloads: number;
};
Defined in: utils/createModelDownloader.ts:443
Type declaration
showCliProgress?
ts
optional showCliProgress: boolean;
Defaults to false
.
onProgress()?
ts
optional onProgress: (status: {
totalSize: number;
downloadedSize: number;
}) => void;
Parameters
Parameter | Type |
---|---|
status | { totalSize : number ; downloadedSize : number ; } |
status.totalSize | number |
status.downloadedSize | number |
Returns
void
parallelDownloads?
ts
optional parallelDownloads: number;
The number of parallel downloads to use fo files.
Defaults to 4
.