| from pydantic_settings import BaseSettings | |
| from pydantic import Field | |
| class Settings(BaseSettings): | |
| """ | |
| Config values for the service. Values are set automatically if a .env file is found | |
| in the directory root. | |
| """ | |
| SERVICE_PORT: int | None = Field(default=7860) | |
| TEMP_VIDEO_PATH: str = Field(default="/tmp/video.webm") | |
| settings = Settings() # type: ignore | |