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:...token...@huggingface.co/user/repo
!ls -al
!git lfs install
!git add .
!git commit -m "Initial commit"
!git log
!git push
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)