Spaces:
Sleeping
Sleeping
Kevin Louis
commited on
Commit
•
773fed1
1
Parent(s):
ead1723
Update app.py
Browse files
app.py
CHANGED
@@ -15,13 +15,14 @@ from logger import cts_log_file_create, logger, cts_logger
|
|
15 |
|
16 |
|
17 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
|
|
18 |
|
19 |
# Create csv file for data logging
|
20 |
log_file_path = cts_log_file_create("flagged")
|
21 |
|
22 |
# Initialise CommitScheduler
|
23 |
scheduler = CommitScheduler(
|
24 |
-
repo_id=
|
25 |
repo_type="dataset",
|
26 |
folder_path=log_file_path.parent,
|
27 |
path_in_repo="data",
|
|
|
15 |
|
16 |
|
17 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
18 |
+
repo_id = os.environ.get("repo_id", None)
|
19 |
|
20 |
# Create csv file for data logging
|
21 |
log_file_path = cts_log_file_create("flagged")
|
22 |
|
23 |
# Initialise CommitScheduler
|
24 |
scheduler = CommitScheduler(
|
25 |
+
repo_id=repo_id,
|
26 |
repo_type="dataset",
|
27 |
folder_path=log_file_path.parent,
|
28 |
path_in_repo="data",
|