Keytaro commited on
Commit
5afc0b9
·
1 Parent(s): 0d29b54

add use_auth_token for CommitScheduler() for treating an error: Invalid username or password.

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -35,7 +35,8 @@ scheduler = CommitScheduler(
35
  repo_type="dataset",
36
  folder_path=log_folder,
37
  path_in_repo="data",
38
- every=2
 
39
  )
40
 
41
  # Define the predict function which will take features, convert to dataframe and make predictions using the saved model
 
35
  repo_type="dataset",
36
  folder_path=log_folder,
37
  path_in_repo="data",
38
+ every=2,
39
+ use_auth_token=True,
40
  )
41
 
42
  # Define the predict function which will take features, convert to dataframe and make predictions using the saved model