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

14 lines
288 B
Bash
Executable File

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