Spaces:
Sleeping
Sleeping
Commit ·
681f7d4
1
Parent(s): f38b172
Fix: garante download completo antes da leitura dos dados
Browse files- download_data.py +6 -0
download_data.py
CHANGED
|
@@ -1,6 +1,12 @@
|
|
| 1 |
# download_data.py
|
| 2 |
import os
|
| 3 |
from huggingface_hub import hf_hub_download
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
REPO_ID = "albertoakel/dados_belem"
|
| 6 |
SUBDIR = "data/process"
|
|
|
|
| 1 |
# download_data.py
|
| 2 |
import os
|
| 3 |
from huggingface_hub import hf_hub_download
|
| 4 |
+
import warnings
|
| 5 |
+
|
| 6 |
+
warnings.filterwarnings(
|
| 7 |
+
"ignore",
|
| 8 |
+
message="The `local_dir_use_symlinks` argument is deprecated"
|
| 9 |
+
)
|
| 10 |
|
| 11 |
REPO_ID = "albertoakel/dados_belem"
|
| 12 |
SUBDIR = "data/process"
|