mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-31 12:54:29 +01:00
16 lines
430 B
Markdown
16 lines
430 B
Markdown
## 🖼 Image Generation
|
|
|
|
By default, Auto-GPT uses DALL-e for image generation. To use Stable Diffusion, a [Hugging Face API Token](https://huggingface.co/settings/tokens) is required.
|
|
|
|
Once you have a token, set these variables in your `.env`:
|
|
|
|
``` ini
|
|
IMAGE_PROVIDER=huggingface
|
|
HUGGINGFACE_API_TOKEN=YOUR_HUGGINGFACE_API_TOKEN
|
|
```
|
|
|
|
## Selenium
|
|
``` shell
|
|
sudo Xvfb :10 -ac -screen 0 1024x768x24 & DISPLAY=:10 <YOUR_CLIENT>
|
|
```
|