document_redaction / entrypoint.sh
seanpedrickcase's picture
Included entrypoint.sh
a7adf55
raw
history blame
195 Bytes
#!/bin/sh
if [ "$APP_MODE" = "lambda" ]; then
echo "Starting in Lambda mode..."
exec python -m awslambdaric "$@"
else
echo "Starting in Gradio mode..."
exec python app.py "$@"
fi