@huggingface/hub
Version:
Utilities to interact with the Hugging Face hub
18 lines • 621 B
TypeScript
import type { CredentialsParams } from "../../types/public";
import type { ApiJob, CreateJobOptions } from "../../types/api/api-jobs";
export type { JobVolume } from "../../types/api/api-jobs";
/**
* Run a new job.
*/
export declare function runJob(params: {
/**
* The namespace (username or organization name)
*/
namespace: string;
hubUrl?: string;
/**
* Custom fetch function to use instead of the default one, for example to use a proxy or edit headers.
*/
fetch?: typeof fetch;
} & CreateJobOptions & CredentialsParams): Promise<ApiJob>;
//# sourceMappingURL=run-job.d.ts.map