Spaces:
Runtime error
Runtime error
from functools import lru_cache | |
from pydantic_settings import BaseSettings | |
class Settings(BaseSettings): | |
SERVER_HOST: str = '0.0.0.0' | |
PORT: int = 7860 | |
MODEL_CHECKPOINT: str = "aimlnerd/bert-finetuned-legalentity-ner-accelerate" | |
def get_settings(): | |
return Settings() | |
# Instantiate the settings | |
settings = get_settings() | |