sri-doc / config.py
kavg's picture
implemented two ocr methods
1be0846
raw
history blame contribute delete
371 Bytes
from pydantic_settings import BaseSettings, SettingsConfigDict
from pydantic import Field
class Settings(BaseSettings):
model_config = SettingsConfigDict(env_file='.env', env_file_encoding='utf-8')
GCV_AUTH: dict
SER_MODEL: str
TOKENIZER: str
RE_MODEL: str
ROBOFLOW_API_KEY: str
ROBOFLOW_URL: str
YOLO_MODEL_ID: str
TROCR_API_URL: str