sivdead commited on
Commit
c544c21
1 Parent(s): ac5a61e

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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}"