Files
verbatim-dicta/start_transcribe.sh
mike 03b018a582 **feat: update project name and cleanup startup script**
- Rename project from "Verbatim Dicta1" to "Verbatim Dicta2"
- Remove redundant comments in `start_transcribe.sh`
- Streamline virtual environment activation process
2025-12-17 23:09:56 +01:00

25 lines
763 B
Bash
Executable File

#!/bin/bash
cd "$(dirname "$0")"
source .venv/bin/activate
# Set CUDA library paths for ctranslate2
export LD_LIBRARY_PATH=".venv/lib/python3.13/site-packages/nvidia/cudnn/lib:.venv/lib/python3.13/site-packages/nvidia/cublas/lib:.venv/lib/python3.13/site-packages/nvidia/cuda_runtime/lib:${LD_LIBRARY_PATH}"
# Run transcription with sentence mode and GPU
echo "Starting transcription with:"
echo " - Model: tiny (fast, good for testing)"
echo " - GPU mode (RTX 4060 Ti)"
echo " - Sentence extraction enabled"
echo " - Interval: 5 seconds"
echo ""
echo "Speak into your microphone to see transcription..."
echo "Press Ctrl+C to stop"
echo ""
python3 transcribe_speakers.py \
--sentence-mode \
--model tiny \
--interval 5 \
--min-duration 2