ouhenio commited on
Commit
38695d8
·
verified ·
1 Parent(s): 307301d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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()