Download bin/ansi2html from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/bin/ansi2html
- Command line
-
hf download hf://camenduru/slahmr-test/bin/ansi2html
-
curl -L -o ansi2html https://huggingface.co/camenduru/slahmr-test/resolve/main/bin/ansi2html
237 Bytes
| #!/usr/local/envs/slahmr/bin/python3.9 | |
| # -*- coding: utf-8 -*- | |
| import re | |
| import sys | |
| from ansi2html.__main__ import main | |
| if __name__ == '__main__': | |
| sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) | |
| sys.exit(main()) | |