Spaces:
Runtime error
Runtime error
Download index.html from rafaaa2105/chainlit: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/spaces/rafaaa2105/chainlit/resolve/main/index.html
- Command line
-
hf download hf://spaces/rafaaa2105/chainlit/index.html
-
curl -L -o index.html https://huggingface.co/spaces/rafaaa2105/chainlit/resolve/main/index.html
511 Bytes
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| </head> | |
| <body> | |
| <h1>Chainlit Copilot Test</h1> | |
| <script src="http://localhost:8000/copilot/index.js"></script> | |
| <script> | |
| window.mountChainlitWidget({ | |
| chainlitServer: "http://localhost:8000", | |
| }); | |
| window.addEventListener("chainlit-call-fn", (e) => { | |
| const { name, args, callback } = e.detail; | |
| if (name === "test") { | |
| callback("You sent: " + args.msg); | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> | |