Files
InterviewAI/run.sh
2026-05-22 15:16:01 +03:00

27 lines
725 B
Bash
Executable File

#!/bin/bash
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
echo "🎙️ Starting Meeting Assistant..."
# Activate virtual environment
if [ -d ".venv" ]; then
source .venv/bin/activate
echo "✅ Using virtual environment: .venv"
else
echo "⚠️ No .venv found — using system Python"
echo " Run: python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt"
fi
# Install PortAudio if needed (macOS)
if [[ "$OSTYPE" == "darwin"* ]]; then
if command -v brew &> /dev/null && ! brew list portaudio &> /dev/null 2>&1; then
echo "📦 Installing PortAudio via Homebrew..."
brew install portaudio
fi
fi
python3 main.py