Spaces:
Configuration error
Configuration error
Download src/dispatch.ts from Curtec/reachy-conversation: direct link, hf CLI and curl.
- Browser
- Download file 565 Bytes
-
https://huggingface.co/spaces/Curtec/reachy-conversation/resolve/main/src/dispatch.ts
- Command line
-
hf download hf://spaces/Curtec/reachy-conversation/src/dispatch.ts
-
curl -L -o dispatch.ts https://huggingface.co/spaces/Curtec/reachy-conversation/resolve/main/src/dispatch.ts
565 Bytes
| async function boot() { | |
| const params = new URLSearchParams(window.location.search); | |
| const embedded = params.get("embedded") === "1"; | |
| if (embedded) { | |
| // Running inside host iframe - load embed logic | |
| const { main } = await import("./embed.ts"); | |
| await main(); | |
| } else { | |
| // Standalone mode - mount the host shell | |
| const { mountHost } = await import("@pollen-robotics/reachy-mini-sdk/host"); | |
| mountHost({ | |
| appName: "Reachy Conversation", | |
| }); | |
| } | |
| } | |
| void boot().catch((err) => { | |
| console.error("[dispatch] Boot failed:", err); | |
| }); | |