Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
machineuser commited on
Commit ·
089313b
1
Parent(s): 9abd9af
Sync widgets demo
Browse files
packages/tasks/src/model-libraries-snippets.ts
CHANGED
|
@@ -532,9 +532,9 @@ IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model);
|
|
| 532 |
];
|
| 533 |
|
| 534 |
export const voicecraft = (model: ModelData): string[] => [
|
| 535 |
-
`from voicecraft import
|
| 536 |
|
| 537 |
-
model =
|
| 538 |
];
|
| 539 |
|
| 540 |
export const mlx = (model: ModelData): string[] => [
|
|
|
|
| 532 |
];
|
| 533 |
|
| 534 |
export const voicecraft = (model: ModelData): string[] => [
|
| 535 |
+
`from voicecraft import VoiceCraft
|
| 536 |
|
| 537 |
+
model = VoiceCraft.from_pretrained("${model.id}")`,
|
| 538 |
];
|
| 539 |
|
| 540 |
export const mlx = (model: ModelData): string[] => [
|