translation_app / .env.example
Athena1621's picture
feat: Introduce new backend architecture with notebooks, sources, chat, and CLaRa models, alongside database schema and updated deployment scripts, while removing old frontend, deployment files, and previous backend components.
88f8604
raw
history blame contribute delete
675 Bytes
# Database Configuration
POSTGRES_USER=antigravity
POSTGRES_PASSWORD=antigravity123
POSTGRES_DB=antigravity_db
POSTGRES_HOST=localhost
POSTGRES_PORT=5433
DATABASE_URL=postgresql://antigravity:antigravity123@localhost:5433/antigravity_db
# CLaRa Model Configuration
MODEL_NAME=apple/CLaRa-7B-Instruct
MODEL_CACHE_DIR=./model_cache
DEVICE=cuda # or cpu
MAX_CONTEXT_TOKENS=32768
COMPRESSION_RATIO=16
# Storage Configuration
LATENT_TENSOR_DIR=./data/latent_tensors
# API Configuration
API_HOST=0.0.0.0
API_PORT=8000
# Streamlit Configuration
STREAMLIT_PORT=8501
# Security
SECRET_KEY=your-secret-key-here-change-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30