Spaces:
Sleeping
Sleeping
add use_auth_token for CommitScheduler() for treating an error: Invalid username or password.
Browse files
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
|