ml-visoft commited on
Commit
ca54f98
1 Parent(s): 10d2c7f

Activate scheduler

Browse files
Files changed (1) hide show
  1. main.py +10 -10
main.py CHANGED
@@ -42,16 +42,16 @@ LOCAL_STORAGE_PATH.mkdir(exist_ok=True, parents=True)
42
  EVENTS_FILE_PATH = LOCAL_STORAGE_PATH / FILE_EVENTS
43
 
44
 
45
- # scheduler = CommitScheduler(
46
- # repo_id="ml-visoft/c-reviewer",
47
- # repo_type="dataset",
48
- # folder_path=LOCAL_STORAGE_PATH,
49
- # every=100,
50
- # path_in_repo="raw_data",
51
- # token=HF_DATASET_AUTH_TOKEN,
52
- # allow_patterns=".jslines",
53
- # squash_history=False
54
- # )
55
 
56
 
57
 
 
42
  EVENTS_FILE_PATH = LOCAL_STORAGE_PATH / FILE_EVENTS
43
 
44
 
45
+ scheduler = CommitScheduler(
46
+ repo_id="ml-visoft/c-reviewer",
47
+ repo_type="dataset",
48
+ folder_path=LOCAL_STORAGE_PATH,
49
+ every=100,
50
+ path_in_repo="raw_data",
51
+ token=HF_DATASET_AUTH_TOKEN,
52
+ allow_patterns=".jslines",
53
+ squash_history=False
54
+ )
55
 
56
 
57