Spaces:
Sleeping
Sleeping
Small bug in assert
Browse files
main.py
CHANGED
@@ -23,7 +23,7 @@ OPENID_PROVIDER_URL = os.environ.get('OPENID_PROVIDER_URL')
|
|
23 |
SPACE_HOST = os.environ.get('SPACE_HOST', "none")
|
24 |
HF_DATASET_AUTH_TOKEN = os.environ.get('HF_DATASET_AUTH_TOKEN')
|
25 |
|
26 |
-
assert SPACE_HOST
|
27 |
|
28 |
LOCAL_STORAGE_PATH = ""
|
29 |
|
|
|
23 |
SPACE_HOST = os.environ.get('SPACE_HOST', "none")
|
24 |
HF_DATASET_AUTH_TOKEN = os.environ.get('HF_DATASET_AUTH_TOKEN')
|
25 |
|
26 |
+
assert SPACE_HOST != "none", "Please set the corrent ENV variables!!!"
|
27 |
|
28 |
LOCAL_STORAGE_PATH = ""
|
29 |
|