We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411e378 commit 09b4f4bCopy full SHA for 09b4f4b
src/huggingface_hub/_webhooks_server.py
@@ -36,7 +36,7 @@
36
37
38
_global_app: Optional["WebhooksServer"] = None
39
-_is_local = os.getenv("SYSTEM") != "spaces"
+_is_local = os.environ.get("SPACE_ID") is None
40
41
42
@experimental
0 commit comments