Spaces:
Configuration error
Configuration error
| # 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 | |