Readme test

This commit is contained in:
Морозов Андрей 2022-09-17 14:25:17 +04:00
parent 76275fc912
commit f410a4fba9
2 changed files with 22 additions and 1 deletions

5
.gitignore vendored
View File

@ -152,3 +152,8 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
pretrained/
data/
ready/
*.txt
!./promt.txt

View File

@ -2,3 +2,19 @@
Create pictures with Mindalle and stable diffusion.
Python script with dependencies installation bat file.
## How to run 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 ready to go. Just run "run_all.bat" to begin.
* First run will be slow due to downloading weights.
* Quantity of output pictures = amount * 60
## Requirements:
Nvidia card with 8GB+ video memory