#!/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