๐ Hugging Face Uploader Notebook
This notebook provides a user-friendly tool for uploading files directly to your Hugging Face repositories. It's designed to streamline your workflow and make sharing your models and data easier.
๐ Badges
Coded With Help From:
Languages:
Huggingface Option:
Always check Github updates:
Open In Colab:
๐ Initial Setup (One Time Only)
- Authenticate:
- Run the
notebook_login()
cell once to securely store your Hugging Face API token. - Important: For security, avoid sharing your notebook file or system state after you have run
notebook_login()
. Do not commit your notebook file to a shared repository, as this could expose your API token.
- Run the
๐๏ธ Using the Uploader
Repository Details:
- Enter your Hugging Face Organization or Username in the "Owner" field.
- Enter your repository name in the "Repo" field.
Directory Selection:
- Enter a directory path where your files are located.
- Select the 'Update Dir' button to set that path.
File Selection:
- Select the appropriate file type from the dropdown menu.
- Select the files you want to upload from the list. You can sort them by name or date modified.
Commit Message (Optional):
- Add a commit message to your upload, or use the default message.
Upload Options:
- Choose whether to create a pull request or upload directly to the main branch.
- Select whether to clear the output after a successful upload.
Start Upload:
- Click the "โฌ๏ธ Upload" button.
๐ก Important Notes
- Direct Uploads: This uploader uses the Hugging Face API for direct file uploads, bypassing the need for traditional Git operations for core functionality.
- Git LFS: Most users will not need to interact with Git or Git LFS. If you need to clone or push changes to a repository outside this notebook, it requires a separate Git credential setup (e.g., your operating system's credential manager or SSH keys). This credential is separate from the API token used in the uploader, and should not be stored in this notebook.
- Troubleshooting: If you encounter any issues, please review the steps or double-check that you have write access to the repository, and that your API token has the correct scope of access.
๐ฃ Updates & Community
- This tool will continue to be updated.
- For the latest patches, fixes, and community contributions, visit https://github.com/duskfallcrew/HuggingFace_Backup
We hope this notebook makes your Hugging Face uploads easier! If you have any questions or suggestions, please reach out.
------ ## ๐ About Us
Heya! We're a vibrant system of 300+ alters, proudly rocking life with DID, ADHD, Autism, and CPTSD. We believe AI can be a game-changer for mental health and creativity, and we're here to explore that potential together!
------ ### ๐ค Let's Connect!
- ๐ End Media
- ๐ฎ Discord Community
- ๐ค HuggingFace Space
- ๐ต YouTube
- ๐จ DeviantArt Group
- ๐ช Subreddit
โ Support Our Adventures
![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)
๐ดโโ ๏ธ Proudly Supported By
๐ ๏ธ Need Help?
Found a bug? We've got multiple ways to help:
- GitHub PR & Bug tracker
- CivitAi DM/comments
- Earth & Dusk Discord
๐ Credits & Origins
Big thanks to our code ancestors:
- EVERYDREAM2 TRAINER https://github.com/victorchall/EveryDream2trainer
- LINAQRUF
- NOCRYPT
Try the original SD Colab:
------ ## ๐ Changelog: Our Journey So Far- ๐ง Added EveryDream2Trainer's Python widget magic
- ๐ Kept Nocrypt's awesome contributions front and center
- ๐ฆ Packed all the essentials into one Jupyter notebook
- ๐ค Made friends with proper file extensions (*.safetensors)
- ๐ Wrote instructions in human-friendly language
- ๐ค Got GPT to help make things clearer
- ๐จ Prettied up the Jupyter edition
- ๐ Synced up Colab and Jupyter versions
- ๐งน Cleaned up dependencies (bye-bye, unnecessary transformers!)
- โจ Added some extra folder upload superpowers
- Cleaned up Colab & Updated Colab
- Added more concise features to the widgets-Colab is working again.
- Gemini overhaul
- Added more file types to Colab, streamlined the instructions
Remember: We're not pro programmers, and that's totally okay! If you see something that could be better, pull requests are always welcome! ๐