Spaces:
Configuration error
Configuration error
File size: 335 Bytes
af94525 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#!/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 |