Spaces:
Sleeping
Sleeping
| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| class Settings(BaseSettings): | |
| model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8", extra="ignore") | |
| port: int = 7860 | |
| app_base_url: str = "" | |
| timezone: str = "America/Lima" | |
| anthropic_api_key: str = "" | |
| anthropic_model: str = "claude-haiku-4-5" | |
| google_script_url: str = "" | |
| google_script_token: str = "" | |
| sheets_sync_enabled: bool = True | |
| bootstrap_from_sheets: bool = False | |
| sync_interval_seconds: int = 300 | |
| sqlite_path: str = "/data/inventario.sqlite" | |
| whisper_model: str = "tiny" | |
| whisper_compute_type: str = "int8" | |
| whisper_device: str = "cpu" | |
| telegram_bot_token: str = "" | |
| telegram_webhook_secret: str = "" | |
| reminder_hour: int = 5 | |
| reminder_minute: int = 0 | |
| expiry_warning_days: int = 7 | |
| memory_short_limit: int = 8 | |
| settings = Settings() | |