language:en license:cc0-1.0 google-colab backup-files region:us
---
license: cc0-1.0
language:
- en
tags:
- google-colab
- backup-files
pretty_name: Google Colab - HuggingFace Backup Toy
---
# **Hugging Face Backup**
<small> An extremely weird fork of content from Nocrypt's notebook by a DID system that has no clue how to code. We'd call it opinionated, but it's not a WebUI, so apart from ElFinder, free users should be able to use this.

## ***❤❤❤❤❤❤❤❤❤❤❤***
*Quickly upload stuff like merged models to huggingface*
-----------------
Code yoinked from Nocrypt, notebook literally just has his credits in there because we wanted a seperate notebook for backups besides just the stable diffusion settings. This includes some extra toys like Imjoy-Elfinder and Google Drive mount. We don't know how to code, and there may not be a TON of updates on this.



-----------------
## ♦♦ **COLAB UPDATES** ♦♦
If you've copied this to drive and it's no longer working check here: https://github.com/kieranxsomer/HuggingFace_Backup
-----------------
### ✅ **Mount Drive!**
This is extremely optional, but y'know if you need it! 

-----------------

### ✅ **Imjoy-Elfinder**

An optional file viewer that may give you a more visual way of looking at your files. Also good if you need to upload files instead of using terminal or gdrive. 

-----------------

###  ✅ **Hugging Face Hub Options**

☢☢ **How to use this colab** ☢☢

Scream, because i couldn't get "THE FUN WAY" To work.
Which is OK,  because the "MANUAL" way is faster. 
There is no need to actually fix code, or anything just copy and paste your details as instructed. 

☢☢ **MAKE SURE:** ☢☢

You create a huggingface token, go to [this link](https://huggingface.co/settings/tokens), then `create new token` or copy available token with the `Write` role.

🔼 Run cell `1,2,3`

You only need to choose one between `3.2,and 3.3`

Note 3.1 was yoinked because right now I don't know how to patch it to work outside of a stable diffusion instance.  If you're using a free colab, try not to use the File Finder - as that's probably considerd a "REMOTE UI"

Make sure you `MOUNT` your google drive, I've patched in `Imjoy-Elfinder` for kicks. - Visual people like this, I know I do.

-----------------
**<small> *Forked from LYNN - AND NOCRYPT - Literally just yoinked it from this notebook:* https://colab.research.google.com/drive/1wEa-tS10h4LlDykd87TF5zzpXIIQoCmq**

-----------------
**WE TAKE NO CREDIT ON THIS. FOLLOW NOCRYPTS STUFF HERE:**

[![](https://dcbadge.vercel.app/api/shield/442099748669751297?style=flat)](https://lookup.guru/442099748669751297) [![ko-fi](https://img.shields.io/badge/Ko--fi-F16061?logo=ko-fi&logoColor=white&style=flat)](https://ko-fi.com/nocrypt) [![ko-fi](https://img.shields.io/badge/Patreon-F1465A?logo=patreon&logoColor=white&style=flat)](https://patreon.com/nocrypt) 


☢ You can find updates on NoCrypt's toys: https://discord.gg/touhouai

☢  Earth & Dusk Discord because REASONS: https://discord.gg/5t2kYxt7An

-----------------