bupa1018 commited on
Commit
b33480a
·
1 Parent(s): 4b7d38f

Update repo_versions.py

Browse files
Files changed (1) hide show
  1. repo_versions.py +4 -0
repo_versions.py CHANGED
@@ -13,6 +13,10 @@ DATA_FILE = os.path.join("data", DATA_FILENAME)
13
  # Function to retrieve the last download entry from the JSON file
14
  def store_message_from_json():
15
  try:
 
 
 
 
16
  # Open and load the JSON file
17
  with open(DATA_FILE, "r") as jsonfile:
18
  data = json.load(jsonfile)
 
13
  # Function to retrieve the last download entry from the JSON file
14
  def store_message_from_json():
15
  try:
16
+
17
+ repo = Repository(
18
+ local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
19
+ )
20
  # Open and load the JSON file
21
  with open(DATA_FILE, "r") as jsonfile:
22
  data = json.load(jsonfile)