Spaces:
Paused
Paused
Download node_modules/@huggingface/tasks/dist/esm/kernel-libraries.js from ken-q/opencode-home: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/tasks/dist/esm/kernel-libraries.js
- Command line
-
hf download hf://spaces/ken-q/opencode-home/node_modules/@huggingface/tasks/dist/esm/kernel-libraries.js
-
curl -L -o kernel-libraries.js https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/tasks/dist/esm/kernel-libraries.js
461 Bytes
| export const KERNEL_LIBRARIES_UI_ELEMENTS = { | |
| kernels: { | |
| prettyLabel: "Kernels", | |
| repoName: "Kernels", | |
| repoUrl: "https://github.com/huggingface/kernels", | |
| docsUrl: "https://huggingface.co/docs/kernels", | |
| snippets: (kernelId, version) => [ | |
| `# !pip install kernels | |
| from kernels import get_kernel | |
| kernel = get_kernel("${kernelId}"${version !== undefined ? `, version=${version}` : ""})`, | |
| ], | |
| }, | |
| }; | |