vpcom commited on
Commit
2392655
·
1 Parent(s): 8bed913

fix: a typo fobj

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def func(hf_token, repo, revision, target_repo):
29
  print(f'uploading {file}')
30
  with open(f"{CURRENT_MODEL_PATH}/{file}", "rb") as fobj:
31
  hf_api.upload_file(
32
- path_or_fileobj=fileobj,
33
  path_in_repo=f"{file}",
34
  repo_id=target_repo,
35
  repo_type="model",
 
29
  print(f'uploading {file}')
30
  with open(f"{CURRENT_MODEL_PATH}/{file}", "rb") as fobj:
31
  hf_api.upload_file(
32
+ path_or_fileobj=fobj,
33
  path_in_repo=f"{file}",
34
  repo_id=target_repo,
35
  repo_type="model",