Implementing a webhook endpoint is as simple as decorating a function. Let's see a first example to explain the main
concepts:  
```python
# app.py
from huggingface_hub import webhook_endpoint, WebhookPayload