# ----------------------------------------- | |
# This section was autogenerated by edsnlp | |
# ----------------------------------------- | |
import edsnlp | |
from pathlib import Path | |
from typing import Optional, Dict, Any | |
__version__ = None | |
def load( | |
overrides: Optional[Dict[str, Any]] = None, | |
) -> edsnlp.Pipeline: | |
artifacts_path = Path(__file__).parent / "artifacts" | |
model = edsnlp.load(artifacts_path, overrides=overrides) | |
return model | |