Skip to content

FacemeshConfig

Bases: ModelConfigBase[FacemeshConfig]

Configuration for the facemesh model.

This model is not available for the batch API.

Source code in hume/models/config/facemesh_config.py
@dataclass
class FacemeshConfig(ModelConfigBase["FacemeshConfig"]):
    """Configuration for the facemesh model.

    This model is not available for the batch API.
    """

    @classmethod
    def get_model_type(cls) -> ModelType:
        """Get the configuration model type.

        Returns:
            ModelType: Model type.
        """
        return ModelType.FACEMESH

get_model_type() classmethod

Get the configuration model type.

Returns:

Name Type Description
ModelType ModelType

Model type.

Source code in hume/models/config/facemesh_config.py
@classmethod
def get_model_type(cls) -> ModelType:
    """Get the configuration model type.

    Returns:
        ModelType: Model type.
    """
    return ModelType.FACEMESH