docs fix to image generation (#3186)

This commit is contained in:
Nicholas Tindle
2023-04-25 00:03:31 -05:00
committed by GitHub
parent 7e5afd8744
commit eb0e96715e

View File

@@ -4,12 +4,12 @@ By default, Auto-GPT uses DALL-e for image generation. To use Stable Diffusion,
Once you have a token, set these variables in your `.env`:
``` shell
``` ini
IMAGE_PROVIDER=huggingface
HUGGINGFACE_API_TOKEN="YOUR_HUGGINGFACE_API_TOKEN"
HUGGINGFACE_API_TOKEN=YOUR_HUGGINGFACE_API_TOKEN
```
## Selenium
``` shell
sudo Xvfb :10 -ac -screen 0 1024x768x24 & DISPLAY=:10 <YOUR_CLIENT>
```
```