Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,10 @@ import argilla as rg
|
|
5 |
from argilla.webhooks import webhook_listener
|
6 |
|
7 |
# Initialize Argilla client
|
8 |
-
client = rg.Argilla(
|
|
|
|
|
|
|
9 |
|
10 |
# Get the webhook server
|
11 |
server = rg.get_webhook_server()
|
|
|
5 |
from argilla.webhooks import webhook_listener
|
6 |
|
7 |
# Initialize Argilla client
|
8 |
+
client = rg.Argilla(
|
9 |
+
api_url=os.getenv("ARGILLA_API_URL"),
|
10 |
+
api_key=os.getenv("ARGILLA_API_KEY"),
|
11 |
+
)
|
12 |
|
13 |
# Get the webhook server
|
14 |
server = rg.get_webhook_server()
|