anumaurya114exp commited on
Commit
3af0b98
·
1 Parent(s): b77c702

add access token

Browse files
Files changed (1) hide show
  1. persistStorage.py +2 -1
persistStorage.py CHANGED
@@ -2,7 +2,7 @@ from huggingface_hub import CommitScheduler
2
  from datetime import datetime
3
  import pytz
4
  import os
5
-
6
  # Set the time zone to Pacific Time Zone
7
  TIME_ZONE = 'US/Pacific'
8
  TIMEZONE_OBJ = pytz.timezone(TIME_ZONE)
@@ -16,6 +16,7 @@ scheduler = CommitScheduler(
16
  repo_id="QueryHelper",
17
  folder_path=LOGS_DIR,
18
  path_in_repo="data",
 
19
  )
20
 
21
  def append_dict_to_csv(file_path, row_data):
 
2
  from datetime import datetime
3
  import pytz
4
  import os
5
+ from config import HUGGING_FACE_TOKEN
6
  # Set the time zone to Pacific Time Zone
7
  TIME_ZONE = 'US/Pacific'
8
  TIMEZONE_OBJ = pytz.timezone(TIME_ZONE)
 
16
  repo_id="QueryHelper",
17
  folder_path=LOGS_DIR,
18
  path_in_repo="data",
19
+ token=HUGGING_FACE_TOKEN
20
  )
21
 
22
  def append_dict_to_csv(file_path, row_data):