DQLiu commited on
Commit
a3f573d
1 Parent(s): 5e842b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def push_to_wiseModel(
72
  repo_dir = f"./{cache_dir}/{repo_name}"
73
  os.makedirs(repo_dir, exist_ok=True)
74
  source_dir = f"./{cache_dir}/hf/{hf_repo_id}"
75
- move_file(source_dir, repo_dir, excludes=[".git", ".gitattributes"])
76
  gitCmd.add(repo_dir, all_files=True)
77
  gitCmd.commit(repo_dir, message="commit from hf to wisemodel")
78
  gitCmd.push(repo_dir, token, url, branch, branch)
 
72
  repo_dir = f"./{cache_dir}/{repo_name}"
73
  os.makedirs(repo_dir, exist_ok=True)
74
  source_dir = f"./{cache_dir}/hf/{hf_repo_id}"
75
+ move_file(source_dir, repo_dir) #, excludes=[".git", ".gitattributes"])
76
  gitCmd.add(repo_dir, all_files=True)
77
  gitCmd.commit(repo_dir, message="commit from hf to wisemodel")
78
  gitCmd.push(repo_dir, token, url, branch, branch)