File size: 370 Bytes
f25b29f
 
 
 
 
 
 
 
8de3b62
f25b29f
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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 = "ITNovaML/invoices-donut-data-v1"
    ocr_stats_file: str = "data/ocr_stats.json"


settings = Settings()