Spaces:
Running
Running
Commit
•
592d1f6
1
Parent(s):
cbe5d94
Update main.py
Browse files
main.py
CHANGED
@@ -3,7 +3,7 @@ from datetime import datetime
|
|
3 |
|
4 |
import argilla as rg
|
5 |
|
6 |
-
os.environ["WEBHOOK_SERVER_URL"] = os.
|
7 |
|
8 |
# Environment variables with defaults
|
9 |
API_KEY = os.environ.get("ARGILLA_API_KEY", "argilla.apikey")
|
|
|
3 |
|
4 |
import argilla as rg
|
5 |
|
6 |
+
os.environ["WEBHOOK_SERVER_URL"] = os.getenv("SPACE_HOST")
|
7 |
|
8 |
# Environment variables with defaults
|
9 |
API_KEY = os.environ.get("ARGILLA_API_KEY", "argilla.apikey")
|