File size: 262 Bytes
2becd91 |
1 2 3 4 5 6 7 8 9 |
import os
import glob
from huggingface_hub import HfApi
api = HfApi()
repo_id = "srush/minichain"
name = ""
api.create_repo(repo_id=repo_id+name, repo_type="space", space_sdk="gradio")
api.upload_folder(repo_id=repo_id+name, repo_type="space", folder_path=name)
|