Spaces:
Runtime error
Runtime error
| import os | |
| from pydantic_settings import BaseSettings | |
| class Settings(BaseSettings): | |
| AZURE_AI_SUBSCRIPTION_KEY: str = os.getenv("AZURE_AI_SUBSCRIPTION_KEY") | |
| AZURE_AI_REGION: str = os.getenv("AZURE_AI_REGION") | |
| class Config: | |
| env_file = ".env" | |
| settings = Settings() | |