class UniDepthV1(nn.Module, PyTorchModelHubMixin, ...):
(...)

def generate_model_card(self, *args, **kwargs) -> ModelCard:
card = super().generate_model_card(*args, **kwargs)
card.data.metrics = ...  # add metrics to the metadata
card.text += ... # append section to the modelcard
return card
```