added install instructions
Some checks failed
Linter / eslint (push) Waiting to run
Linter / ruff (push) Failing after 6s
Tests / tests on CPU (push) Failing after 1m14s

This commit is contained in:
soaska 2024-05-03 18:30:50 +03:00
parent 919b945d7c
commit 2ef4db7008
5 changed files with 42 additions and 7 deletions

6
.env Normal file
View File

@ -0,0 +1,6 @@
## Infinite Image Browsing
IIB_SECRET_KEY=0
IIB_SERVER_LANG=auto
IIB_DB_FILE_BACKUP_MAX=16
IIB_ACCESS_CONTROL=auto
IIB_ACCESS_CONTROL_PERMISSION=read-write

View File

@ -10,6 +10,8 @@ jobs:
runs-on: soaska runs-on: soaska
if: gitea.event_name != 'pull_request' || gitea.event.pull_request.head.repo.full_name != gitea.event.pull_request.base.repo.full_name if: gitea.event_name != 'pull_request' || gitea.event.pull_request.head.repo.full_name != gitea.event.pull_request.base.repo.full_name
steps: steps:
- name: Prepare env
run: apk add git curl python3
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4

View File

@ -13,6 +13,8 @@ jobs:
runs-on: soaska runs-on: soaska
if: gitea.event_name != 'pull_request' || gitea.event.pull_request.head.repo.full_name != gitea.event.pull_request.base.repo.full_name if: gitea.event_name != 'pull_request' || gitea.event.pull_request.head.repo.full_name != gitea.event.pull_request.base.repo.full_name
steps: steps:
- name: Prepare env
run: apk add git curl python3
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Python 3.10 - name: Set up Python 3.10

6
.gitignore vendored
View File

@ -1,7 +1,5 @@
__pycache__ __pycache__
*.ckpt /extensions
*.safetensors
*.pth
/ESRGAN/* /ESRGAN/*
/SwinIR/* /SwinIR/*
/repositories /repositories
@ -29,7 +27,6 @@ notification.mp3
/SwinIR /SwinIR
/textual_inversion /textual_inversion
.vscode .vscode
/extensions
/test/stdout.txt /test/stdout.txt
/test/stderr.txt /test/stderr.txt
/cache.json* /cache.json*
@ -41,3 +38,4 @@ notification.mp3
/test/results.xml /test/results.xml
coverage.xml coverage.xml
**/tests/**/expectations **/tests/**/expectations
models/Stable-diffusion/realisticVisionV51_v51VAE.safetensors

View File

@ -1,6 +1,6 @@
# MySD # MySD
This reposytory is just my version for faster installation of [sd-webui-forge](https://github.com/lllyasviel/stable-diffusion-webui-forge) This reposytory is just my version for faster installation of [sd-webui-forge](https://github.com/lllyasviel/stable-diffusion-webui-forge).
# Changes: # Changes:
@ -10,3 +10,30 @@ This reposytory is just my version for faster installation of [sd-webui-forge](h
- Installed some basic (as for me) plugins - Installed some basic (as for me) plugins
#### Now you can call it bloated #### Now you can call it bloated
# Install
```shell
git clone https://soaska.ru/soaska/my-sd.git
cd my-sd/
cd models/
mkdir ESRGAN
cd ESRGAN/
curl -OJ https://soaska.ru/api/packages/soaska/generic/upscalers/1.0/ESRGAN_4x.pth
curl -OJ https://soaska.ru/api/packages/soaska/generic/upscalers/1.0/4x-AnimeSharp.pth
curl -OJ https://soaska.ru/api/packages/soaska/generic/upscalers/1.0/4x_foolhardy_Remacri.pth
curl -OJ https://soaska.ru/api/packages/soaska/generic/upscalers/1.0/4x_NMKD-Siax_200k.pth
curl -OJ https://soaska.ru/api/packages/soaska/generic/upscalers/1.0/4x-Ultrasharp.pth
curl -OJ https://soaska.ru/api/packages/soaska/generic/upscalers/1.0/8x_NMKD-Superscale_150000_G.pth
cd ../../
python3 -m venv venv
pip install -r requirements.txt
bash ./webui.sh
```
It`s basic install instructions. There are some specific for your hardware. Good luck searching net to get better performance.