mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
* Adding More Info To The Docs * Start of main page rebuild and adding new folders * Starting to move the AutoGPT(agent) Docs to a subfolder and start setup forge's subfolder * small fixes in links * fix file name * added the benchmakrs page * added front-end page * re-aranging the layout * moved the config section to be under the AutoGPT folder * fix image link * moved "Share Logs" and "Testing" to be under the AutoGPT folder * index.md: fix broken links on home page * Index.md: Testing Something with the links * index.md: Added the Benchmarks section * small fix for Frontend * Added a chat ai to the docs for testing as part of #5694 * index.md: sepetating the sections and making it easier to read * index.md: Added discord Link * index.md: Added better info to each section from @Yash-Ambekar * index.md: trying to fix the layout * Index.md: updating layout * Move Docker Setup To Its Own File * small fix * seperating the installation setups to there own page for making things clear * small fix in links * fix links again * change nav titles color to help make things clear * fix css * mv custom.css * fix for css not working * rm custom css as it didnt work * fix img * update image url * update nav * index.md: improving layout and wordings * index.md: testing line breaks * index.md: Fixed the line breaks * setup/docker-setp.md: small fix * Docker-setup.md update link to correct memory page * docker-setup.md: added note about docker install being broken * Docker-Setup.md: Updating the warning * Docker-Setup.md : Test * docker-setup.md: fix * docker-setup.md: fix * docker-setup.md final update to the warning * Docker-Setup.md * Updates to mkdocs.yml and docker-setup based on the feedback * fix to docker-setup.md * docker-setup.md fix * introduction.md: fix * Update docs/content/AutoGPT/Setups/Docker-setup.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * docker-setup.md update link * Update docs/content/AutoGPT/Setups/Git-setup.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/AutoGPT/Setups/Git-setup.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * nogit-setup.md: updated links * Update docs/content/AutoGPT/Setups/Git-setup.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/index.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/index.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/index.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/index.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * setup.md: added extra info about the docker insall * setup.md small changs to clean things up * removed emojis from forge get-started.md * get-started.md - small changes * Update AutoGPT intro in index.md --------- Co-authored-by: sohamtembhurne <sohamatembhurne@outlook.com> Co-authored-by: Yash-Ambekar <yashambekar03@gmail.com> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
64 lines
2.0 KiB
Markdown
64 lines
2.0 KiB
Markdown
# 🖼 Image Generation configuration
|
|
|
|
| Config variable | Values | |
|
|
| ---------------- | ------------------------------- | -------------------- |
|
|
| `IMAGE_PROVIDER` | `dalle` `huggingface` `sdwebui` | **default: `dalle`** |
|
|
|
|
## DALL-e
|
|
|
|
In `.env`, make sure `IMAGE_PROVIDER` is commented (or set to `dalle`):
|
|
|
|
```ini
|
|
# IMAGE_PROVIDER=dalle # this is the default
|
|
```
|
|
|
|
Further optional configuration:
|
|
|
|
| Config variable | Values | |
|
|
| ---------------- | ------------------ | -------------- |
|
|
| `IMAGE_SIZE` | `256` `512` `1024` | default: `256` |
|
|
|
|
## Hugging Face
|
|
|
|
To use text-to-image models from Hugging Face, you need a Hugging Face API token.
|
|
Link to the appropriate settings page: [Hugging Face > Settings > Tokens](https://huggingface.co/settings/tokens)
|
|
|
|
Once you have an API token, uncomment and adjust these variables in your `.env`:
|
|
|
|
```ini
|
|
IMAGE_PROVIDER=huggingface
|
|
HUGGINGFACE_API_TOKEN=your-huggingface-api-token
|
|
```
|
|
|
|
Further optional configuration:
|
|
|
|
| Config variable | Values | |
|
|
| ------------------------- | ---------------------- | ---------------------------------------- |
|
|
| `HUGGINGFACE_IMAGE_MODEL` | see [available models] | default: `CompVis/stable-diffusion-v1-4` |
|
|
|
|
[available models]: https://huggingface.co/models?pipeline_tag=text-to-image
|
|
|
|
## Stable Diffusion WebUI
|
|
|
|
It is possible to use your own self-hosted Stable Diffusion WebUI with AutoGPT:
|
|
|
|
```ini
|
|
IMAGE_PROVIDER=sdwebui
|
|
```
|
|
|
|
!!! note
|
|
Make sure you are running WebUI with `--api` enabled.
|
|
|
|
Further optional configuration:
|
|
|
|
| Config variable | Values | |
|
|
| --------------- | ----------------------- | -------------------------------- |
|
|
| `SD_WEBUI_URL` | URL to your WebUI | default: `http://127.0.0.1:7860` |
|
|
| `SD_WEBUI_AUTH` | `{username}:{password}` | *Note: do not copy the braces!* |
|
|
|
|
## Selenium
|
|
|
|
```shell
|
|
sudo Xvfb :10 -ac -screen 0 1024x768x24 & DISPLAY=:10 <YOUR_CLIENT>
|
|
```
|