Installation
Installation
Section titled “Installation”This guide covers installing Speakora on various platforms.
Prerequisites
Section titled “Prerequisites”- Python 3.10+ (required for SeamlessM4T)
- Git for cloning the repository
- FFmpeg for video/audio processing
- Node.js 18+ (optional, for frontend development)
GPU Support
Section titled “GPU Support”For best performance, a GPU is recommended:
| Platform | Requirements |
|---|---|
| NVIDIA | CUDA 11.8+ with 8GB+ VRAM |
| Apple Silicon | macOS 12.0+ with Metal/MPS |
| AMD | ROCm 5.0+ |
Quick Install
Section titled “Quick Install”# Clone the repositorygit clone https://github.com/rennerdo30/speakora.gitcd speakora
# Run the setup script./setup.sh
# Start the application./start.shThe setup script will:
- Create a Python virtual environment
- Install all Python dependencies
- Install frontend dependencies (if Node.js is available)
- Build the frontend (if Node.js is available)
- Create necessary directories
Manual Installation
Section titled “Manual Installation”1. Create Virtual Environment
Section titled “1. Create Virtual Environment”python3.10 -m venv venvsource venv/bin/activate # Linux/macOS# orvenv\Scripts\activate # Windows2. Install Python Dependencies
Section titled “2. Install Python Dependencies”pip install --upgrade pip setuptools wheelpip install -r requirements.txt3. Install Development Dependencies (Optional)
Section titled “3. Install Development Dependencies (Optional)”pip install -r requirements-dev.txt4. Install Frontend (Optional)
Section titled “4. Install Frontend (Optional)”cd frontendnpm installnpm run buildcd ..5. Download Model
Section titled “5. Download Model”./run.sh download --model-size mediumAvailable model sizes:
| Size | Model | VRAM | Quality |
|---|---|---|---|
| medium | SeamlessM4T v1 | ~8GB | Good |
| large | SeamlessM4T v2 | ~16GB | Best |
Platform-Specific Notes
Section titled “Platform-Specific Notes”Install FFmpeg via Homebrew:
brew install ffmpegUbuntu/Debian
Section titled “Ubuntu/Debian”sudo apt updatesudo apt install ffmpeg python3.10 python3.10-venvWindows
Section titled “Windows”- Install Python 3.10+ from python.org
- Install FFmpeg from ffmpeg.org
- Add FFmpeg to your PATH
Docker Installation
Section titled “Docker Installation”For containerized deployment, see the Docker guide.
Troubleshooting
Section titled “Troubleshooting”GPU Not Detected
Section titled “GPU Not Detected”Check device detection:
./run.sh infoForce CPU mode:
export SEAMLESS_DEVICE=cpu./start.shOut of Memory
Section titled “Out of Memory”Use a smaller model:
# In config/default.yamlmodel: size: "medium"Model Download Issues
Section titled “Model Download Issues”Manually download models:
./run.sh download --model-size medium