'Error in trying to push model to huggingface

So, I am making a chatbot for discord using google Collaboratory. However whenever, i try to push it on huggingface.co. It does deploy and instead gives me an error. Also, while trying to clone the repo, it's giving me an error fatal: destination path 'DialoGPT-small-technoblade' already exists and is not an empty directory. The error that is being shown

The code I'm using

!pip install huggingface_hub
!sudo apt-get install git-lfs
!git config --global user.email "email"
!git config --global user.name "username"

!transformers-cli login
!git clone https://user:[email protected]/user/repo
!ls -al

!git lfs install
!git add .
!git commit -m "Initial commit"

!git log
!git push



Solution 1:[1]

To my knowledge, all you have to do is delete a folder on your drive to the name of DialoGPT-Small-Technoblade.

Otherwise, I don't know. See what the results are if you try it on a VM (For Linux, I recommend VirtualBox)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Trisiegt