mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
10 lines
275 B
Python
10 lines
275 B
Python
"""
|
|
Hyperparameters and configuration for gender prediction service.
|
|
"""
|
|
|
|
# Confidence threshold for using local model predictions
|
|
CONFIDENCE_THRESHOLD = 0.85
|
|
|
|
# Redis cache configuration
|
|
REDIS_CACHE_TTL = 86400 * 30 # 30 days in seconds
|
|
REDIS_KEY_PREFIX = "genderservice:"
|