devilismyfriend / StableTuner

Finetuning SD in style.
GNU Affero General Public License v3.0
670 stars 51 forks source link

Feature request : private hugging face upload in cloud workflow #115

Open jeanhadrien opened 1 year ago

jeanhadrien commented 1 year ago

By adding private bool parameter to create_repo() method, you can upload privately hugging face, cf doc : https://huggingface.co/docs/huggingface_hub/package_reference/hf_api#huggingface_hub.HfApi.create_repo

In model playground part : try: create_repo(f'{hf_username}/{project_repo}', repo_type='model',token=token, private=True)

Could be useful to add that to the jupyter notebook Maybe with a checkbox on the created menu