Spaces:
Runtime error
Runtime error
Download docling/cli/tools.py from wangrongsheng/AutoPage: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/spaces/wangrongsheng/AutoPage/resolve/main/docling/cli/tools.py
- Command line
-
hf download hf://spaces/wangrongsheng/AutoPage/docling/cli/tools.py
-
curl -L -o tools.py https://huggingface.co/spaces/wangrongsheng/AutoPage/resolve/main/docling/cli/tools.py
322 Bytes
| import typer | |
| from docling.cli.models import app as models_app | |
| app = typer.Typer( | |
| name="Docling helpers", | |
| no_args_is_help=True, | |
| add_completion=False, | |
| pretty_exceptions_enable=False, | |
| ) | |
| app.add_typer(models_app, name="models") | |
| click_app = typer.main.get_command(app) | |
| if __name__ == "__main__": | |
| app() | |