File size: 742 Bytes
44d4f39
 
16eaf19
 
 
 
f40fa43
16eaf19
44d4f39
 
36f940f
f039650
 
16eaf19
 
f039650
 
 
16eaf19
 
f039650
16eaf19
 
f039650
 
16eaf19
f039650
 
16eaf19
f039650
 
 
 
16eaf19
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
28
29
30
31
32
33
34
35
---
title: Argilla Webhooks
emoji: 🦀
colorFrom: pink
colorTo: pink
sdk: gradio
sdk_version: 4.44
app_file: app.py
pinned: false
---

## Description

This space is a basic server webhooks example to show how to set up webhook listeners using the argilla SDK.


## Running the app

First create an HF space running the argilla server. Once the server is up and running, you must define the following environment variables:

```bash
export ARGILLA_API_KEY=<your_api_key>
export ARGILLA_API_URL=<your_api_url>
```

Now, you can run the app just running the following command:

```bash
python app.py
```

## Testing the app

Open the gradio application on a browser (http://localhost:7860). You can see incoming events from the argilla server.