trying to write to dataset
Browse files
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=
|
| 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",
|