init
This commit is contained in:
27
start_transcribe.sh
Executable file
27
start_transcribe.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
# Simple startup script for transcription with GPU support
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Activate virtual environment
|
||||
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
|
||||
Reference in New Issue
Block a user