Spaces:
Build error
Build error
from gradio_webhooks import GradioWebhookApp, WebhookPayload | |
app = GradioWebhookApp(webhook_secret="my_dummy_secret") | |
async def hello(payload: WebhookPayload): | |
print(f"Received webhook for repo {payload.repo.name}") | |
return {"processed": True} | |
app.ready() | |