Spaces:
Sleeping
Sleeping
File size: 564 Bytes
d90bc2e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/usr/bin/env bash
# Setup Script for ASTraM Traffic Event Intelligence
# Team Insight.exe
echo "Initializing environment setup..."
# Check if uv is installed
if ! command -v uv &> /dev/null
then
echo "uv package manager not found. Installing uv..."
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env
else
echo "uv package manager detected."
fi
# Sync dependencies using pyproject.toml
echo "Synchronizing project libraries..."
uv sync
echo "Starting Streamlit Dashboard..."
uv run streamlit run streamlit_app/app.py
|