pragnakalp commited on
Commit
5c12bb8
1 Parent(s): 09be1d0

Update save_data.py

Browse files
Files changed (1) hide show
  1. save_data.py +2 -0
save_data.py CHANGED
@@ -36,6 +36,8 @@ except:
36
  # local_dir="ocr_data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
37
  # )
38
  # repo.git_pull()
 
 
39
 
40
  def getIP():
41
  ip_address = ''
 
36
  # local_dir="ocr_data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
37
  # )
38
  # repo.git_pull()
39
+ repo = Repository(local_dir="ocr_data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN)
40
+ repo.git_pull()
41
 
42
  def getIP():
43
  ip_address = ''