CoolFace
Apppublic

dacpind/mediaflow-proxy

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
configs.py15 linesDownload Raw Back to mediaflow_proxy
1from pydantic_settings import BaseSettings2 3 4class Settings(BaseSettings):5    api_password: str  # The password for accessing the API endpoints.6    proxy_url: str | None = None  # The URL of the proxy server to route requests through.7    enable_streaming_progress: bool = False  # Whether to enable streaming progress tracking.8 9    class Config:10        env_file = ".env"11        extra = "ignore"12 13 14settings = Settings()15