Files
docling-serve/docling_serve/settings.py
Michele Dolfi 77c2603a93 docling_serve
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-09-06 22:05:58 +02:00

9 lines
217 B
Python

from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
do_ocr: bool = True
do_table_structure: bool = True
model_config = SettingsConfigDict(env_prefix="DOCLING_")