Spaces:
Sleeping
Sleeping
| import os | |
| from pathlib import Path | |
| from pydantic_settings import BaseSettings | |
| class Settings(BaseSettings): | |
| PROJECT_NAME: str = "Resonate Recommendation Engine" | |
| API_V1_STR: str = "/api/v1" | |
| DATA_DIR: Path = Path(os.getenv("DATA_DIR", "/app/data")) | |
| TMDB_API_KEY: str = os.getenv("TMDB_API_KEY", "") | |
| class Config: | |
| env_file = ".env" | |
| case_sensitive = True | |
| settings = Settings() |