Mobile UI: compact card layout for tables; switch Gemini default to 2.5-pro
This commit is contained in:
@@ -20,8 +20,10 @@ SECRET_KEY = os.environ.get("SECRET_KEY", "")
|
||||
DATABASE_PATH = os.environ.get("DB_PATH", str(BASE_DIR / "data" / "realestate.db"))
|
||||
UPLOAD_DIR = os.environ.get("UPLOAD_DIR", str(BASE_DIR / "uploads"))
|
||||
MAX_CONCURRENT_EXTRACTIONS = int(os.environ.get("MAX_CONCURRENT", "3"))
|
||||
CLAUDE_MODEL = "claude-sonnet-4-6"
|
||||
GEMINI_MODEL = "gemini-2.5-flash"
|
||||
CLAUDE_MODEL = os.environ.get("CLAUDE_MODEL", "claude-sonnet-4-6")
|
||||
# Gemini 2.5 Pro is more reliable than Flash for Arabic OCR/reasoning
|
||||
# (Flash occasionally returns refusals / "absolute" style hedges). Override via env if needed.
|
||||
GEMINI_MODEL = os.environ.get("GEMINI_MODEL", "gemini-2.5-pro")
|
||||
|
||||
# Production mode — set to "production" on VPS
|
||||
ENVIRONMENT = os.environ.get("ENVIRONMENT", "development")
|
||||
|
||||
Reference in New Issue
Block a user