support-emotion-classifier / push_all_to_hub.py
TrunkSam's picture
Upload folder using huggingface_hub
2c3b1dc verified
Raw History Blame Contribute Delete
260 Bytes
from huggingface_hub import HfApi
api = HfApi()
api.upload_folder(
folder_path=".",
repo_id="TrunkSam/support-emotion-classifier",
repo_type="model",
allow_patterns=["*.py", "*.md", "requirements.txt", "*.ipynb"],
)
print("Done.")