12 lines
294 B
Python
12 lines
294 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
|
|
|
chatgpt_api_key: str
|
|
typecast_api_key: str = "" # typecast 엔진을 쓸 때만 필요
|
|
|
|
|
|
settings = Settings()
|