File size: 676 Bytes
1019c7a
fb2e410
 
 
 
1019c7a
fb2e410
1019c7a
 
 
fb2e410
 
b72120c
 
fb2e410
 
 
b72120c
 
 
fb2e410
b72120c
fb2e410
b72120c
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
title: BenchmarkCard Webhook
emoji: πŸ“‹
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: false
---

# BenchmarkCard Webhook

Receives HF webhook events when PRs are merged on `evaleval/EEE_datastore`,
detects new benchmark folders, and automatically generates benchmark cards.

## Endpoints

- `POST /webhook` β€” HF webhook receiver
- `GET /status` β€” Job history and active state
- `GET /health` β€” Health check

## Environment Variables

- `HF_TOKEN` β€” HuggingFace token with write access to `evaleval/auto-benchmarkcards`
- `WEBHOOK_SECRET` β€” Secret for webhook verification
- `PERSISTENT_DIR` β€” Path to persistent storage (default: `/data`)