cgeorgiaw HF Staff commited on
Commit
8ba1e6e
·
1 Parent(s): 8efd41a

trying to write to dataset

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def submit_boundary(
43
  json.dump(record, tmp, indent=2)
44
  tmp.flush()
45
  upload_file(
46
- path_or_fileobj=tmp.name, # this is just a string path
47
  path_in_repo=filename,
48
  repo_id=repo_id,
49
  repo_type="dataset",
 
43
  json.dump(record, tmp, indent=2)
44
  tmp.flush()
45
  upload_file(
46
+ path_or_fileobj=f_in,
47
  path_in_repo=filename,
48
  repo_id=repo_id,
49
  repo_type="dataset",