Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
machineuser commited on
Commit ·
7fd9bbe
1
Parent(s): 92e8b1a
Sync widgets demo
Browse files540 unmodified lines541542543544545546227 unmodified lines774775776777778779540 unmodified linesconst mlAgents = (model: ModelData) => [`mlagents-load-from-hf --repo-id="${model.id}" --local-dir="./downloads"`];const mlx = (model: ModelData) => [`pip install huggingface_hub hf_transfer227 unmodified linesdocsUrl: "https://huggingface.co/docs/hub/ml-agents",snippets: mlAgents,},pythae: {btnLabel: "pythae",repoName: "pythae",540 unmodified lines541542543544545546547548549550551552553554227 unmodified lines782783784785786787788789790791792793540 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) => [`pip install huggingface_hub hf_transfer227 unmodified linesdocsUrl: "https://huggingface.co/docs/hub/ml-agents",snippets: mlAgents,},"unity-sentis": {btnLabel: "unity-sentis",repoName: "unity-sentis",repoUrl: "https://github.com/Unity-Technologies/sentis-samples",snippets: sentis,},pythae: {btnLabel: "pythae",repoName: "pythae",
packages/tasks/src/library-ui-elements.ts+14