Spaces:
Running
Running
Download src/pages/index.jsx from matthoffner/web-llm-embed: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/matthoffner/web-llm-embed/resolve/6ad4e74c023dd548bb86356af40062938990383b/src/pages/index.jsx
- Command line
-
hf download hf://spaces/matthoffner/web-llm-embed@6ad4e74c023dd548bb86356af40062938990383b/src/pages/index.jsx
-
curl -L -o index.jsx https://huggingface.co/spaces/matthoffner/web-llm-embed/resolve/6ad4e74c023dd548bb86356af40062938990383b/src/pages/index.jsx
281 Bytes
| "use client"; | |
| import Chat from "@/components/ChatV2"; | |
| import { ModelProvider } from "@react-llm/headless"; | |
| export default function Home() { | |
| return ( | |
| <ModelProvider | |
| config={{ | |
| persistToLocalStorage: true, | |
| }} | |
| > | |
| <Chat /> | |
| </ModelProvider> | |
| ); | |
| } |