ngxson HF staff commited on
Commit
6893def
·
verified ·
1 Parent(s): 8aa5465

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def process_model(ft_model_id: str, base_model_id: str, rank: str, private_repo,
117
  print("Repo created successfully!", new_repo_url)
118
 
119
  # Upload files
120
- api.upload_file(
121
  folder_path=outputdir,
122
  path_in_repo="",
123
  repo_id=new_repo_id,
 
117
  print("Repo created successfully!", new_repo_url)
118
 
119
  # Upload files
120
+ api.upload_folder(
121
  folder_path=outputdir,
122
  path_in_repo="",
123
  repo_id=new_repo_id,