File size: 425 Bytes
253246d
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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