File size: 315 Bytes
2f07364
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from pydantic import BaseSettings


class Settings(BaseSettings):
    app_name: str = "TTS API"
    server_port: int = 5000
    log_level: str = 'DEBUG'
    gpu: bool = True
    tts_max_text_limit: int = 450
    models_base_path: str = ''
    model_config_file_path: str = 'model_dict.json'


settings = Settings()