Commit
•
e69ab4e
1
Parent(s):
b55063e
Hopefully fixed!
Browse files- main.py +1 -3
- utilities/user_defined_functions.py +1 -1
main.py
CHANGED
@@ -66,9 +66,7 @@ def schedule_periodic_task():
|
|
66 |
elif frequency == 'daily':
|
67 |
start_time = '05:00'
|
68 |
logger.info(f'Scheduling tasks to run every day at: {start_time} UTC+00')
|
69 |
-
schedule.every().day.at(
|
70 |
-
schedule.every().day.at('13:53').do(main)
|
71 |
-
# schedule.every().day.at(start_time).do(main)
|
72 |
|
73 |
while True:
|
74 |
schedule.run_pending()
|
|
|
66 |
elif frequency == 'daily':
|
67 |
start_time = '05:00'
|
68 |
logger.info(f'Scheduling tasks to run every day at: {start_time} UTC+00')
|
69 |
+
schedule.every().day.at(start_time).do(main)
|
|
|
|
|
70 |
|
71 |
while True:
|
72 |
schedule.run_pending()
|
utilities/user_defined_functions.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
from datetime import datetime
|
3 |
|
4 |
import pandas as pd
|
5 |
-
from datasets import Dataset, DatasetDict, load_dataset,
|
6 |
from huggingface_hub import login
|
7 |
|
8 |
from utilities.data_processing import data_processing
|
|
|
2 |
from datetime import datetime
|
3 |
|
4 |
import pandas as pd
|
5 |
+
from datasets import Dataset, DatasetDict, load_dataset, DownloadMode
|
6 |
from huggingface_hub import login
|
7 |
|
8 |
from utilities.data_processing import data_processing
|