add env var in docs

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2025-03-06 07:01:34 +01:00
parent a3c957ca6b
commit 061767be35

View File

@ -71,6 +71,13 @@ Or using the CLI:
docling --artifacts-path="/local/path/to/models" FILE docling --artifacts-path="/local/path/to/models" FILE
``` ```
Or using the `DOCLING_ARTIFACTS_PATH` environment variable:
```sh
export DOCLING_ARTIFACTS_PATH="/local/path/to/models"
python my_docling_script.py
```
#### Using remote services #### Using remote services
The main purpose of Docling is to run local models which are not sharing any user data with remote services. The main purpose of Docling is to run local models which are not sharing any user data with remote services.