ml-finetuning/stable-diffusion/upload_to_huggingface.py

9 lines
191 B
Python
Raw Normal View History

2022-12-08 04:26:34 +00:00
from huggingface_hub import HfApi
api = HfApi()
api.upload_folder(
folder_path="/home/float/dreambooth/checkpoint-1000",
repo_id="float-trip/marsey-db-sd2",
repo_type="model",
)