Spaces:
Runtime error
Runtime error
Download src/components/tool-invocation/shared.tool-invocation.ts from shyota/better-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 158 Bytes
-
https://huggingface.co/spaces/shyota/better-chatbot/resolve/main/src/components/tool-invocation/shared.tool-invocation.ts
- Command line
-
hf download hf://spaces/shyota/better-chatbot/src/components/tool-invocation/shared.tool-invocation.ts
-
curl -L -o shared.tool-invocation.ts https://huggingface.co/spaces/shyota/better-chatbot/resolve/main/src/components/tool-invocation/shared.tool-invocation.ts
158 Bytes
| export const sanitizeCssVariableName = (label: string) => { | |
| return label | |
| .replaceAll(" ", "") | |
| .toLowerCase() | |
| .replace(/[^a-z0-9\-_]/g, "_"); | |
| }; | |