spaCy/generate_static_cli.py

9 lines
222 B
Python
Raw Normal View History

2023-02-23 15:45:30 +03:00
from wasabi import msg
from spacy.__main__ import FILE
from spacy.cli import setup_cli
if __name__ == "__main__":
cli = setup_cli()
cli.to_static(FILE)
msg.good("Successfully generated static CLI", str(FILE))