semantic_main / run_app.sh
JAYASREESS's picture
Upload 8 files
253246d verified
raw
history blame contribute delete
425 Bytes
#!/bin/bash
# Ensure we are using the virtual environment's streamlit
# This resolves ModuleNotFoundError for packages installed in venv
# Check if venv exists
if [ -d "venv" ]; then
echo "Starting Semantic Analyzer from venv..."
./venv/bin/streamlit run app.py
else
echo "Error: Virtual environment 'venv' not found."
echo "Please run: python3 -m venv venv && ./venv/bin/pip install -r requirements.txt"
fi