Spaces:
Sleeping
Sleeping
pragnakalp
commited on
Commit
•
c31bd47
1
Parent(s):
082c5ea
Update save_data.py
Browse files- save_data.py +5 -5
save_data.py
CHANGED
@@ -32,12 +32,12 @@ try:
|
|
32 |
except:
|
33 |
print("file not found")
|
34 |
|
35 |
-
|
36 |
-
|
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 = ''
|
|
|
32 |
except:
|
33 |
print("file not found")
|
34 |
|
35 |
+
repo = Repository(
|
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 = ''
|