-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example.txt
More file actions
37 lines (30 loc) · 866 Bytes
/
.env.example.txt
File metadata and controls
37 lines (30 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copy this file to .env and update with your values
# Core Application Settings
FLASK_ENV=production
SECRET_KEY=your-super-secret-key-change-in-production
DEBUG=false
# Redis Configuration (Optional - will use memory fallback if not available)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# AI Model Configuration
MODEL_CACHE_DIR=./models
MODEL_NAME=facebook/nllb-200-distilled-600M
GPU_ENABLED=true
# API Rate Limiting
RATE_LIMIT_PER_MINUTE=100
MAX_TEXT_LENGTH=5000
MAX_BATCH_SIZE=100
# Monitoring & Logging
LOG_LEVEL=INFO
METRICS_ENABLED=true
HEALTH_CHECK_TIMEOUT=30
# Optional: External AI Services (for fallback/comparison)
OPENAI_API_KEY=sk-your-openai-key-here
GOOGLE_TRANSLATE_KEY=your-google-translate-key
AWS_ACCESS_KEY_ID=your-aws-access-key
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
# Deployment Specific
PORT=5000
WORKERS=4
TIMEOUT=120