Spaces:
Runtime error
Runtime error
TaskAssignmentBotDatasetUpdateRole
commited on
Commit
•
7861621
1
Parent(s):
1d0579a
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,9 @@ import os
|
|
6 |
HF_TOKEN = os.environ.get('hf_access_to_private_space2')
|
7 |
|
8 |
def environ_auth(username, password):
|
9 |
-
if username == os.environ.get('
|
|
|
|
|
10 |
return True
|
11 |
else:
|
12 |
return False
|
|
|
6 |
HF_TOKEN = os.environ.get('hf_access_to_private_space2')
|
7 |
|
8 |
def environ_auth(username, password):
|
9 |
+
if username == os.environ.get('mattias_hallberg') and password == os.environ.get('mattias_hallberg_password'):
|
10 |
+
return True
|
11 |
+
elif username == os.environ.get('michal_gradshtein') and password == os.environ.get('michal_gradshtein_password'):
|
12 |
return True
|
13 |
else:
|
14 |
return False
|