Revamp: embedded console, faster-whisper, simplified install

This commit is contained in:
Kristofer Söderström
2026-03-02 17:02:16 +01:00
parent 7d3fe1ba26
commit f8cf42733d
12 changed files with 449 additions and 139 deletions

29
run_Mac.sh Normal file
View File

@@ -0,0 +1,29 @@
#!/bin/bash
# ============================================================
# Local Transcribe with Whisper — macOS / Linux launcher
# ============================================================
# Double-click this file or run: ./run_Mac.sh
# On first run it creates a venv and installs dependencies.
# ============================================================
set -e
cd "$(dirname "$0")"
# Create .venv if it doesn't exist
if [ ! -f ".venv/bin/python" ]; then
echo "Creating virtual environment..."
python3 -m venv .venv
fi
PYTHON=".venv/bin/python"
# Install dependencies on first run
if ! "$PYTHON" -c "import faster_whisper" 2>/dev/null; then
echo "First run detected — running installer..."
"$PYTHON" install.py
echo
fi
echo "Starting Local Transcribe..."
"$PYTHON" app.py