Skip to content

Commit

Permalink
Merge branch 'add_vfimamba' of github.com:NielsRogge/huggingface.js i…
Browse files Browse the repository at this point in the history
…nto add_vfimamba
  • Loading branch information
NielsRogge committed Sep 5, 2024
2 parents ed8aa94 + c319c0d commit 2ddf512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/tasks/src/model-libraries-snippets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -874,8 +874,7 @@ IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model);
export const vfimamba = (model: ModelData): string[] => [
`from Trainer_finetune import Model
model = Model(-1)
model.from_pretrained("${model.id}")`,
model = Model.from_pretrained("${model.id}")`,
];

export const voicecraft = (model: ModelData): string[] => [
Expand Down
2 changes: 1 addition & 1 deletion packages/tasks/src/model-libraries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
},
"vfi-mamba": {
prettyLabel: "VFIMamba",
repoName: "vfi-mamba",
repoName: "VFIMamba",
repoUrl: "https://github.com/MCG-NJU/VFIMamba",
countDownloads: `path_extension:"pkl"`,
snippets: snippets.vfimamba,
Expand Down

0 comments on commit 2ddf512

Please sign in to comment.