Skip to content

Commit

Permalink
add model_file_name
Browse files Browse the repository at this point in the history
  • Loading branch information
NawarA committed Mar 7, 2024
1 parent 29b9e85 commit 372ce59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -3019,6 +3019,7 @@ export async function pipeline(
cache_dir = null,
local_files_only = false,
revision = 'main',
model_file_name = null
} = {}
) {
// Helper method to construct pipeline
Expand Down Expand Up @@ -3046,6 +3047,7 @@ export async function pipeline(
cache_dir,
local_files_only,
revision,
model_file_name
}

const classes = new Map([
Expand Down

0 comments on commit 372ce59

Please sign in to comment.