Spaces:
Running
Running
Download playground/misc.mjs from ProbablyBlue/ChatTTS-Forge: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/spaces/ProbablyBlue/ChatTTS-Forge/resolve/main/playground/misc.mjs
- Command line
-
hf download hf://spaces/ProbablyBlue/ChatTTS-Forge/playground/misc.mjs
-
curl -L -o misc.mjs https://huggingface.co/spaces/ProbablyBlue/ChatTTS-Forge/resolve/main/playground/misc.mjs
411 Bytes
| import { h } from "preact"; | |
| import * as React from "preact/hooks"; | |
| import htm from "htm"; | |
| import { bindReact } from "@quik-fe/stand"; | |
| import * as goober from "goober"; | |
| goober.setup(h); | |
| export const html = htm.bind(h); | |
| export const create = bindReact(React); | |
| /** | |
| * @type {Record<string, Function>} | |
| */ | |
| export const styled = new Proxy( | |
| {}, | |
| { | |
| get: (target, key) => goober.styled.call({}, key), | |
| } | |
| ); | |