Spaces:
Configuration error
Configuration error
File size: 407 Bytes
af94525 eb9a7a3 af94525 eb9a7a3 af94525 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#!/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
elif [ "$1" = "prod" ]; then
python3 docling_serve run
else
echo "Usage: $0 [dev|prod]"
exit 1
fi |