machineuser commited on
Commit
0201d2f
·
1 Parent(s): decfc73

Sync widgets demo

Browse files
packages/tasks/src/library-ui-elements.ts CHANGED
@@ -541,12 +541,12 @@ transcriptions = asr_model.transcribe(["file.wav"])`,
541
 
542
  const mlAgents = (model: ModelData) => [`mlagents-load-from-hf --repo-id="${model.id}" --local-dir="./downloads"`];
543
 
544
- const sentis = (model: ModelData) => [
545
  `string modelName = "[Your model name here].sentis";
546
  Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName);
547
  IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model);
548
  // Please see provided C# file for more details
549
- `
550
  ];
551
 
552
  const mlx = (model: ModelData) => [
 
541
 
542
  const mlAgents = (model: ModelData) => [`mlagents-load-from-hf --repo-id="${model.id}" --local-dir="./downloads"`];
543
 
544
+ const sentis = (/* model: ModelData */) => [
545
  `string modelName = "[Your model name here].sentis";
546
  Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName);
547
  IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model);
548
  // Please see provided C# file for more details
549
+ `,
550
  ];
551
 
552
  const mlx = (model: ModelData) => [