asuni commited on
Commit
16e12da
·
verified ·
1 Parent(s): 6b6519d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def save_responses_to_hf(rows, repo_id: str | None = None, token: str | None = N
108
  json_bytes = json.dumps(row_dict, indent=2).encode("utf-8")
109
 
110
  api.upload_file(
111
- path_or_obj=json_bytes,
112
  path_in_repo=path_in_repo,
113
  repo_id=repo_id,
114
  repo_type="dataset",
 
108
  json_bytes = json.dumps(row_dict, indent=2).encode("utf-8")
109
 
110
  api.upload_file(
111
+ path_or_fileobj=json_bytes,
112
  path_in_repo=path_in_repo,
113
  repo_id=repo_id,
114
  repo_type="dataset",