# Chatterbox TTS Application Configuration
# Copy this file to .env and adjust values for your environment

# Project paths (adjust these for your system)
PROJECT_ROOT=/path/to/your/chatterbox-ui
SPEAKER_SAMPLES_DIR=${PROJECT_ROOT}/speaker_data/speaker_samples
TTS_TEMP_OUTPUT_DIR=${PROJECT_ROOT}/tts_temp_outputs
DIALOG_GENERATED_DIR=${PROJECT_ROOT}/backend/tts_generated_dialogs

# Backend server configuration
BACKEND_HOST=0.0.0.0
BACKEND_PORT=8000
BACKEND_RELOAD=true

# Frontend development server configuration
FRONTEND_HOST=127.0.0.1
FRONTEND_PORT=8001

# API URLs (usually derived from backend configuration)
API_BASE_URL=http://localhost:8000
API_BASE_URL_WITH_PREFIX=http://localhost:8000/api

# CORS configuration (comma-separated list)
CORS_ORIGINS=http://localhost:8001,http://127.0.0.1:8001,http://localhost:3000,http://127.0.0.1:3000

# Device configuration for TTS model (auto, cpu, cuda, mps)
DEVICE=auto
