| from huggingface_hub import HfApi | |
| import os | |
| api = HfApi(token=os.getenv("HF_TOKEN")) | |
| api.upload_large_folder( | |
| folder_path=".", | |
| repo_id="YinghaoXu/SeisMIC-Init", | |
| repo_type="dataset", | |
| ) | |
| from huggingface_hub import HfApi | |
| import os | |
| api = HfApi(token=os.getenv("HF_TOKEN")) | |
| api.upload_large_folder( | |
| folder_path=".", | |
| repo_id="YinghaoXu/SeisMIC-Init", | |
| repo_type="dataset", | |
| ) | |