#!/bin/bash # Double-click this file in Finder to launch the Spam Classifier UI cd "$(dirname "$0")" if [ -d "venv" ]; then source venv/bin/activate fi echo "Starting Spam Classifier..." echo "Opening http://127.0.0.1:7860 in your browser..." sleep 2 && open http://127.0.0.1:7860 & python3.11 app.py