# bot

# Installation Python Controler Generator Prompt

## Controler Generator Prompt

#### Est un ensemble d'outil afin de généré des image automatiquement a l'aide de stable diffusion et d'autre outils de filtre facial.

#### Os : Archlinux  
Python version : 3

### Installation Stable diffusion

```bash
sudo pacman -S wget git python3 python-pip
yay -S python310

mkdir github && cd github
mkdir stable-diffusion-automatic && cd stable-diffusion-automatic
```

#####   


##### Création de l'environnement python

```bash
python3.10 -m venv env
source env/bin/activate
pip install --upgrade pip

```


##### Installation "webui.sh"

```bash
wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh
chmod +x webui.sh
./webui.sh
```

Après une longue installation une interface web devrais s'ouvrir dans ce cas tous est bon

##### Debug stable diffusion lowram  


```bash
cd stable-diffusion-webui
nano nano webui-user.sh
```

uncomment <span style="color: #6a9955;">\#export COMMANDLINE\_ARGS=""</span> to <span style="color: #569cd6;">export</span><span style="color: #cccccc;"> </span><span style="color: #9cdcfe;">COMMANDLINE\_ARGS</span><span style="color: #d4d4d4;">=</span><span style="color: #ce9178;">""</span>

and add in --&gt; <span style="color: #569cd6;">export</span><span style="color: #cccccc;"> </span><span style="color: #9cdcfe;">COMMANDLINE\_ARGS</span><span style="color: #d4d4d4;">=</span><span style="color: #ce9178;">"--xformers "</span>

<p class="callout info">For download some model for stable diffusion [Civitai model](https://civitai.com)</p>

<div id="bkmrk--5" style="position: absolute; left: 538px; top: 1368.36px;"><div class="gtx-trans-icon">  
</div></div>