Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add model file name #594

Merged
merged 12 commits into from
May 23, 2024
2 changes: 2 additions & 0 deletions src/pipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -3107,6 +3107,7 @@ export async function pipeline(
cache_dir = null,
local_files_only = false,
revision = 'main',
model_file_name = null
xenova marked this conversation as resolved.
Show resolved Hide resolved
} = {}
) {
// Helper method to construct pipeline
Expand Down Expand Up @@ -3134,6 +3135,7 @@ export async function pipeline(
cache_dir,
local_files_only,
revision,
model_file_name
xenova marked this conversation as resolved.
Show resolved Hide resolved
}

const classes = new Map([
Expand Down