Welcome to our unique extension, designed to help you easily back up your valuable Stable Diffusion WebUI files to the Hugging Face Hub! This project is brought to you by the Duskfall Portal Crew, a diverse DID system passionate about creativity and AI.
This extension provides a simple way to back up your Stable Diffusion WebUI models, embeddings, and other important files to a repository on the Hugging Face Hub. We prioritize ease of use and reliability, helping you safeguard your valuable work.
- Easy Backup: Back up your model files, VAEs, embeddings, and LoRAs directly from your Stable Diffusion WebUI.
- Hugging Face Integration: Seamlessly upload your files to your Hugging Face Hub repository.
- Automatic Backup (Manual Start): Backups are performed automatically in the background, after you manually start them using the UI.
- Granular Status Updates: Clear progress information provided during the backup process.
- Credential Store: The extension uses the git credential store for secure authentication, and you can opt-out by using an environment variable.
- Install: Install this extension by placing it in the
extensions
folder of your Stable Diffusion WebUI. - Configure:
- In the Stable Diffusion WebUI settings, go to the
Hugging Face
section and set your write access token. - In the extension's UI tab, configure your Hugging Face username, repository name, paths to back up, and the SD Webui folder.
- In the Stable Diffusion WebUI settings, go to the
- Start Backup: Click the "Start Backup" button to begin backing up your files.
- Stable Diffusion WebUI (Automatic1111)
- Hugging Face Hub account and a write access token.
- Python 3.7 or later.
- Configuration: When you start the extension, it will load the required settings.
- Cloning or Creation: The extension will clone the provided Hugging Face repository, or create it if it doesn't exist.
- Copy Files: The files in the specified paths will be copied to the cloned repository.
- Pushing: The changes will be pushed to your repository in the Hugging Face Hub.
- Scheduled backups By default, backups are done when the user triggers them, and then after a specified interval, you can configure that interval by modifying the
BACKUP_INTERVAL
constant in yourhfbackup_script.py
file, or by implementing a scheduler.
- Hugging Face Write API Key: Required to upload to your Hugging Face Repository.
- Use Git Credential Store: By default the extension will try to use your system's git credentials, but you can disable this behavior by turning this toggle off, and use the environment variable
HF_TOKEN
to provide the token.
- Huggingface Token: Your Huggingface token.
- Huggingface Username: Your Huggingface username or organization name.
- SD Webui Path: The folder where Stable Diffusion Webui is installed.
- Backup Paths: The paths to your models, embeddings, etc. that you wish to back up (one path per line), it must be relative to the root folder where Stable Diffusion is installed.
This extension is licensed under the MIT License.
This extension is built with the help of the Automatic1111 and Hugging Face communities. We are grateful for their efforts in creating such amazing and useful projects.
If you encounter any issues or have questions about this extension, please open an issue in our GitHub repository.
- No "BACK END" settings file: Settings are saved in the script and are loaded directly by A1111.
- Currently, the backup occurs only when the user clicks the "Start Backup" button, and then on a timer, until the extension stops.
- Initial release: June 8 2024
- Pre Alpha: June 8 2024 - "NOT OFFICIALLY A RELEASE"
- Rejig: November 1 2024 - Rejigged the code via Claude, will test asap and add feature logs.
- Semi Working: November 10 2024 - Tested it on A1111, it's SEMI working
We are the Duskfall Portal Crew, a DID system with over 300 alters, navigating life with DID, ADHD, Autism, and CPTSD. We believe in AI’s potential to break down barriers and enhance mental health.
- Website: End Media (WEBSITE UNDER CONSTRUCTION)
- Discord: Join our Discord
- Hugging Face: Hugging Face
- Support Us: Send a Pizza
- Coffee: BuyMeSomeMochas!
- Patreon: Our Barely Used Patreon
- Subreddit: Reddit