mohayemin's picture
update
6ee2648
raw
history blame contribute delete
251 Bytes
from pathlib import Path
from huggingface_hub import webhook_endpoint, WebhookPayload
@webhook_endpoint
async def trigger_training(payload: WebhookPayload):
print("Triggering training job")
return {"message": "done running training job"}