Spaces:
Sleeping
Sleeping
Download api/src/misc/console-text.js from shuaizhenpin/videoapi: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/spaces/shuaizhenpin/videoapi/resolve/main/api/src/misc/console-text.js
- Command line
-
hf download hf://spaces/shuaizhenpin/videoapi/api/src/misc/console-text.js
-
curl -L -o console-text.js https://huggingface.co/spaces/shuaizhenpin/videoapi/resolve/main/api/src/misc/console-text.js
294 Bytes
| function t(color, tt) { | |
| return color + tt + "\x1b[0m" | |
| } | |
| export function Bright(tt) { | |
| return t("\x1b[1m", tt) | |
| } | |
| export function Red(tt) { | |
| return t("\x1b[31m", tt) | |
| } | |
| export function Green(tt) { | |
| return t("\x1b[32m", tt) | |
| } | |
| export function Cyan(tt) { | |
| return t("\x1b[36m", tt) | |
| } | |