Spaces:
Running
Running
File size: 545 Bytes
bd28470 5f138d4 bd28470 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | import os
from dotenv import load_dotenv
from pydantic_settings import BaseSettings
load_dotenv()
class Settings(BaseSettings):
# Supabase
SUPABASE_URL: str
SUPABASE_SERVICE_ROLE_KEY: str
# LLM (All on NVIDIA NIM — FREE)
NVIDIA_API_KEY: str
NVIDIA_NIM_BASE_URL: str = "https://integrate.api.nvidia.com/v1"
# Service auth
PYTHON_AI_SERVICE_SECRET: str
# Config
LOG_LEVEL: str = "INFO"
class Config:
env_file = "../../../.env"
extra = "ignore"
settings = Settings()
|