Import from google colab to hugging face

So, how do i save 2 folders from a google colab runtime to huggingface (i have a api token)?
The folders are

  1. /content/stable/models/Lora
  2. /content/stable/models/LyCORIS

and i want to save the Lora folder in: PrivateCassy/Lora at main
and the LyCORIS to save in: PrivateCassy/LyCORIS at main

Hi! You can call huggingface_hub.upload_folder (after installing huggingface_hub with !pip install huggingface_hub) inside the Colab notebook to upload these folders to the Hub repo.

1 Like