Download kawk50m/cli.py from Infinity08/KAWK50M-Project: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/datasets/Infinity08/KAWK50M-Project/resolve/main/kawk50m/cli.py
- Command line
-
hf download hf://datasets/Infinity08/KAWK50M-Project/kawk50m/cli.py
-
curl -L -o cli.py https://huggingface.co/datasets/Infinity08/KAWK50M-Project/resolve/main/kawk50m/cli.py
363 Bytes
| from __future__ import annotations | |
| import sys | |
| def configure_utf8_stdio() -> None: | |
| """Make Korean/emoji CLI output reliable on legacy Windows code pages.""" | |
| for stream in (sys.stdout, sys.stderr): | |
| reconfigure = getattr(stream, "reconfigure", None) | |
| if reconfigure is not None: | |
| reconfigure(encoding="utf-8", errors="replace") | |