ReliefLensDemo / backend /core /config.py
copilot-swe-agent[bot]
feat: build complete ReliefLensAI backend
d0f3cbe unverified
Raw
History Blame Contribute Delete
578 Bytes
from functools import lru_cache
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
vllm_base_url: str = "http://localhost:8000/v1"
vllm_api_key: str = "not-needed"
vllm_model: str = "Qwen/Qwen2.5-72B-Instruct"
vllm_vision_model: str = "Qwen/Qwen2-VL-7B-Instruct"
app_env: str = "development"
debug: bool = True
demo_mode: bool = True
storage_path: str = "./data"
model_config = {"env_file": ".env", "env_file_encoding": "utf-8", "extra": "ignore"}
@lru_cache()
def get_settings() -> Settings:
return Settings()