Spaces:
Runtime error
Runtime error
File size: 251 Bytes
6c83bf5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import os
import sys
from huggingface_hub import HfApi
TOKEN = os.environ.get("DEBUG")
api = HfApi(token=TOKEN)
out_dir = sys.argv[1]
api.upload_folder(
folder_path=out_dir,
repo_id="EnergyStarAI/results_debug",
repo_type="dataset",
) |