Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
machineuser commited on
Commit ·
0201d2f
1
Parent(s): decfc73
Sync widgets demo
Browse files540 unmodified lines541542543544545546547548549550551552540 unmodified linesconst mlAgents = (model: ModelData) => [`mlagents-load-from-hf --repo-id="${model.id}" --local-dir="./downloads"`];const sentis = (model: ModelData) => [`string modelName = "[Your model name here].sentis";Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName);IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model);// Please see provided C# file for more details`];const mlx = (model: ModelData) => [540 unmodified lines541542543544545546547548549550551552540 unmodified linesconst mlAgents = (model: ModelData) => [`mlagents-load-from-hf --repo-id="${model.id}" --local-dir="./downloads"`];const sentis = (/* model: ModelData */) => [`string modelName = "[Your model name here].sentis";Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName);IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model);// Please see provided C# file for more details`,];const mlx = (model: ModelData) => [
packages/tasks/src/library-ui-elements.ts+2-2