Skip to content

base

BaseInterface

Base interface class which accepts a model manager on initialization

Source code in inference/core/interfaces/base.py
4
5
6
7
8
class BaseInterface:
    """Base interface class which accepts a model manager on initialization"""

    def __init__(self, model_manager: ModelManager) -> None:
        self.model_manager = model_manager