sparrow-data-itn / api /config.py
ITNovaML's picture
Upload 15 files
d49f9c6
raw
history blame
375 Bytes
from pydantic import BaseSettings
import os
class Settings(BaseSettings):
huggingface_key: str = os.environ.get("HUGGINGFACE_KEY")
sparrow_key: str = os.environ.get("SPARROW_KEY")
secure_key: str = os.environ.get("SECURE_KEY")
dataset_name: str = "katanaml-org/invoices-donut-data-v1"
ocr_stats_file: str = "data/ocr_stats.json"
settings = Settings()