27 lines
568 B
Bash
Executable File
27 lines
568 B
Bash
Executable File
#!/bin/bash
|
|
# Run POC Demo Script
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
echo "🚗 Starting DSMS POC Demo..."
|
|
echo ""
|
|
|
|
# Check if virtual environment exists
|
|
if [ ! -d "venv" ]; then
|
|
echo "⚠️ Virtual environment not found. Creating..."
|
|
python3 -m venv venv
|
|
source venv/bin/activate
|
|
pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
else
|
|
source venv/bin/activate
|
|
fi
|
|
|
|
# Create necessary directories
|
|
mkdir -p models logs
|
|
|
|
# Run the POC demo
|
|
echo "🎬 Launching POC Demo..."
|
|
streamlit run src/poc_demo.py --server.port 8501 --server.address 0.0.0.0
|
|
|