Docling-UI / run.sh
oburnsy22's picture
added scripts for running and setting up cpu optimization
af94525
raw
history blame
335 Bytes
#!/bin/bash
# NOTE: When it comes time for production deployment, I should:
# - dockerize this
# - see if I should be using uv instead of python3
# - download the model weights to a local directory, see:
# - DOCLING_SERVE_ARTIFACTS_PATH
if [ "$1" = "dev" ]; then
python3 docling-serve dev
else
python3 docling-serve run
fi