spik / config.py
Nam Fam
update config.py
fa50dc2
raw
history blame contribute delete
540 Bytes
import os
from pathlib import Path
from dotenv import load_dotenv
# Load environment variables
load_dotenv()
# Base directory
BASE_DIR = Path(__file__).resolve().parent
# Backend configuration
BACKEND_URL = os.getenv("BACKEND_URL", "http://localhost:8000")
# Model configurations
TTS_MODELS = ["Deepgram Aura2"]
STT_MODELS = ["Deepgram Whisper"]
# Language configurations
LANGUAGES = [
("English", "en"),
# ("Vietnamese", "vi"),
# ("Spanish", "es")
]
# Model mappings
MODEL_MAPPING = {
"Deepgram Whisper": "whisper"
}