Spaces:
Build error
Build error
| """ | |
| Configuration file cho Banking Voice Chat Application | |
| """ | |
| import os | |
| # Model configuration | |
| MODEL_NAME = "hainguyen306201/bank-1.7" | |
| DEFAULT_SYSTEM_MESSAGE = "You are a helpful banking and finance assistant specialized in providing financial advice and banking services information. Respond in Vietnamese when the user speaks Vietnamese." | |
| # STT Configuration | |
| USE_FASTER_WHISPER = True | |
| WHISPER_MODEL_SIZE = "small" # tiny, base, small, medium, large | |
| # TTS Configuration | |
| TTS_VOICE = "vi-VN-HoaiMyNeural" # Vietnamese voice | |
| # Performance Configuration | |
| MAX_GPU_MEMORY = "40GB" | |
| MAX_CPU_MEMORY = "30GB" | |
| # UI Configuration | |
| CHATBOT_HEIGHT = 600 | |
| DEFAULT_MAX_TOKENS = 2048 | |
| DEFAULT_TEMPERATURE = 0.7 | |
| DEFAULT_TOP_P = 0.8 | |