-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
46 lines (41 loc) · 1.19 KB
/
setup.bat
File metadata and controls
46 lines (41 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@echo off
echo.
echo ============================================
echo Voice Generator - Setup Script
echo AI Text-to-Speech for YouTube
echo ============================================
echo.
REM Check Python version
python --version 2>nul
if errorlevel 1 (
echo [ERROR] Python is not installed or not in PATH!
echo Please install Python 3.9+ from https://python.org
pause
exit /b 1
)
echo [1/4] Creating virtual environment...
python -m venv venv
call venv\Scripts\activate.bat
echo [2/4] Installing espeak-ng (required for Kokoro TTS)...
echo.
echo ========================================
echo IMPORTANT: Install espeak-ng manually!
echo ========================================
echo.
echo 1. Go to: https://github.com/espeak-ng/espeak-ng/releases
echo 2. Download: espeak-ng-X64.msi (latest version)
echo 3. Run the installer
echo.
echo Press any key after installing espeak-ng...
pause > nul
echo [3/4] Installing Python dependencies...
pip install --upgrade pip
pip install -r requirements.txt
echo [4/4] Setup complete!
echo.
echo ============================================
echo To start the app, run:
echo start.bat
echo ============================================
echo.
pause