Real-time speech-to-text using OpenAI Whisper (faster-whisper). Features browser audio capture, WebSocket streaming, and customizable display settings. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
556 B
YAML
22 lines
556 B
YAML
# GPU override for docker-compose
|
|
# Usage: docker compose -f docker-compose.yml -f docker-compose.gpu.yml up --build
|
|
#
|
|
# Prerequisites:
|
|
# 1. NVIDIA GPU with driver installed
|
|
# 2. NVIDIA Container Toolkit installed
|
|
# 3. Set WHISPER_DEVICE=cuda in .env
|
|
# 4. Set WHISPER_COMPUTE_TYPE=float16 in .env (recommended)
|
|
|
|
services:
|
|
live-captions:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.gpu
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities: [gpu]
|