vimalk78's picture
Add complete Python backend with AI-powered crossword generation
b01ceb3
raw
history blame
414 Bytes
# Python Backend Environment Configuration
# Server Configuration
PORT=7860
HOST=0.0.0.0
NODE_ENV=production
# AI/ML Configuration
EMBEDDING_MODEL=sentence-transformers/all-mpnet-base-v2
WORD_SIMILARITY_THRESHOLD=0.65
MAX_VOCAB_SIZE=30000
# HuggingFace Configuration (if needed for cloud inference)
HUGGINGFACE_API_KEY=your_huggingface_api_key_here
# Logging
LOG_LEVEL=INFO
# Development settings
RELOAD=false