Files
personal_development/video_transcription/ai_transcriber_v2/run_v2.bat
T

36 lines
906 B
Batchfile

@echo off
TITLE AI Video Transcriber V2
REM Check if Python is installed
python --version >nul 2>&1
IF %ERRORLEVEL% NEQ 0 (
echo Error: Python is not installed or not in your PATH.
echo Please install Python from https://www.python.org/
PAUSE
EXIT /B
)
REM Check if FFmpeg is installed
ffmpeg -version >nul 2>&1
IF %ERRORLEVEL% NEQ 0 (
echo Error: FFmpeg is not installed or not in your PATH.
echo Please download FFmpeg and add bin folder to your Environment Variables.
PAUSE
EXIT /B
)
REM Check for virtual environment
IF NOT EXIST ".venv" (
echo Creating Virtual Environment...
python -m venv .venv
echo Installing dependencies (this may take a while)...
.venv\Scripts\pip install -r ai_transcriber_v2\requirements.txt
.venv\Scripts\pip install python-dotenv
)
REM Run the V2 launcher
echo Starting Wizard...
.venv\Scripts\python run_v2.py
PAUSE