david66's picture
add fastapi
571ee53
raw
history blame contribute delete
333 Bytes
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
cloud_flare_endpoint: str
hugging_face_space: str
hugging_face_token: str
endpoint_url: str
aws_access_key_id: str
aws_secret_access_key: str
model_config = SettingsConfigDict(env_file=".env", extra="ignore")