MinDalle_StableDiff/README.md

26 lines
1.0 KiB
Markdown
Raw Normal View History

2022-09-17 12:59:44 +03:00
# MinDalle_StableDiff
2022-09-17 13:44:01 +03:00
Create pictures with Mindalle and stable diffusion.
2022-09-17 13:25:17 +03:00
Python script with dependencies installation bat file.
2022-09-17 13:44:01 +03:00
## How to set up dalle mini + stable diffusion:
1. Run "get_dependencies.bat"
- if you see connections errors, just run the script again to be shure everything is installed.
2. Run "login.bat" to login to your HuggingFace profile.
a. Go to https://huggingface.co/CompVis/stable-diffusion-v1-4 and make sure to accept the terms.
b. Go to Your Profile > Settings > Access Tokens
c. Create a write token/Copy an existing Token key and enter in the cmd window.
* It can be done once and forever untill you delete token from C:\Users\\%YOUR_USERNAME%\\.huggingface
3. You are redy to go.
## How to run
1. Write your promt to "promt.txt"
2. Run "run_all.bat"
* First run will be slow due to downloading weights.
3. When amount is asked, enter any number you want.
* Quantity of output pictures = amount * 60
2022-09-17 13:25:17 +03:00
## Requirements:
2022-09-17 13:44:01 +03:00
* 11GB of free space
* Nvidia card with 8GB+ video memory