JVice commited on
Commit
6ccac00
1 Parent(s): 075f019

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -84,8 +84,7 @@ def user_login_create():
84
  global USER_LOGGED_IN
85
  users = None
86
  snapshot_download(repo_id='JVice/try-before-you-bias-data',repo_type='dataset',local_dir='user_data')
87
- newPath = 'user_data/data/user_database.yaml'
88
- with open(newPath) as file:
89
  users = yaml.load(file, Loader=SafeLoader)
90
  AUTHENTICATOR = stauth.Authenticate(
91
  users['credentials'],
 
84
  global USER_LOGGED_IN
85
  users = None
86
  snapshot_download(repo_id='JVice/try-before-you-bias-data',repo_type='dataset',local_dir='user_data')
87
+ with open('user_data/data/user_database.yaml') as file:
 
88
  users = yaml.load(file, Loader=SafeLoader)
89
  AUTHENTICATOR = stauth.Authenticate(
90
  users['credentials'],