David Pomerenke
Upload script
6baf3ad
raw
history blame contribute delete
372 Bytes
# /// script
# dependencies = [
# "huggingface_hub",
# "python-dotenv",
# ]
# ///
from huggingface_hub import upload_folder
import os
from dotenv import load_dotenv
load_dotenv()
upload_folder(
folder_path="build",
path_in_repo="/",
repo_id="datenlabor-bmz/ai-language-monitor",
repo_type="space",
token=os.getenv("HUGGINGFACE_ACCESS_TOKEN"),
)