Commit
β’
ca4bcc4
1
Parent(s):
5192410
use large folder upload
Browse files
app.py
CHANGED
@@ -118,11 +118,11 @@ def process_pdfs(
|
|
118 |
repo_type="dataset",
|
119 |
private=private_repo,
|
120 |
)
|
121 |
-
hf_api.
|
122 |
-
folder_path=
|
123 |
repo_id=hf_repo,
|
124 |
repo_type="dataset",
|
125 |
-
path_in_repo="images",
|
126 |
)
|
127 |
|
128 |
# Determine size category
|
|
|
118 |
repo_type="dataset",
|
119 |
private=private_repo,
|
120 |
)
|
121 |
+
hf_api.upload_large_folder(
|
122 |
+
folder_path=temp_dir,
|
123 |
repo_id=hf_repo,
|
124 |
repo_type="dataset",
|
125 |
+
# path_in_repo="images",
|
126 |
)
|
127 |
|
128 |
# Determine size category
|