from huggingface_hub import HfApi | |
api = HfApi() | |
# Upload all the content from the local folder to your remote Space. | |
# By default, files are uploaded at the root of the repo | |
api.upload_folder( | |
folder_path="./", | |
repo_id="AI4EPS/quakeflow_nc", | |
repo_type="space", | |
) |