Files
sientia-dataops-model-manager/run_local.sh

16 lines
317 B
Bash
Executable File

#!/bin/bash
# Exit on any error
set -e
if [ -f .env ]; then
set -a
source <(cat .env | grep -v '^#' | grep -v '^$')
set +a
echo "Environment variables loaded from .env"
else
echo "Warning: .env file not found. Continuing without environment variables."
fi
python -m model_manager.worker.worker