Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -61,6 +61,9 @@ def push_to_wiseModel(
|
|
61 |
print("push_to_wiseModel start")
|
62 |
|
63 |
gitCmd = GitCommandWrapper()
|
|
|
|
|
|
|
64 |
gitCmd.clone(cache_dir, token, url, repo_name, branch)
|
65 |
|
66 |
repo_dir = f"./{cache_dir}/{repo_name}"
|
|
|
61 |
print("push_to_wiseModel start")
|
62 |
|
63 |
gitCmd = GitCommandWrapper()
|
64 |
+
isLfs = gitCmd.is_lfs_installed()
|
65 |
+
if not isLfs:
|
66 |
+
gitCmd.git_lfs_install()
|
67 |
gitCmd.clone(cache_dir, token, url, repo_name, branch)
|
68 |
|
69 |
repo_dir = f"./{cache_dir}/{repo_name}"
|