Previously I used v0.1.120 and it worked well. AUTOMATIC1111 version is 1.9.3. It generates images well therefore I think it is open-webui backend's bug. Thank you for your effort!
Originally created by @kmc7468 on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1927
# Bug Report
## Description
**Bug Summary:**
Maybe from v0.1.123, image generation using AUTOMATIC1111 doesn't work.
**Steps to Reproduce:**
1. Click the image generation button
2. Error
**Expected Behavior:**
Generated image should be displayed.
**Actual Behavior:**
Error
## Environment
- **Open WebUI Version:** 0.1.123
- **Ollama (if applicable):** 0.1.32
- **Operating System:** Ubuntu Server 22.04 LTS
## Reproduction Details
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
## Logs and Screenshots
**Browser Console Logs:**
`Something went wrong :/ cannot access local variable 'image_id' where it is not associated with a value`
**Docker Container Logs:**

**Screenshots (if applicable):**

## Installation Method
I used the following `docker-compose.yml` file:
```
services:
server:
container_name: open-webui-server
image: ghcr.io/open-webui/open-webui:main
restart: always
volumes:
- open-webui-data:/app/backend/data
environment:
- OLLAMA_BASE_URL=<OMITTED>
- DEFAULT_MODELS=llama3:8b-instrct-q8_0
- ENABLE_MODEL_FILTER=True
- MODEL_FILTER_LIST=codellama:13b-instruct-q6_K;dolphin-llama3:8b-v2.9-q8_0;gemma:7b-instruct-v1.1-q8_0;llama2-uncensored:7b-chat-q8_0;llama3:8b-instruct-q8_0;llava:7b-v1.6-mistral-q8_0;mistral:7b-instruct-v0.2-q8_0
- AUTOMATIC1111_BASE_URL=<OMITTED>
- ENABLE_IMAGE_GENERATION=True
ports:
- 4000:8080
volumes:
open-webui-data:
```
## Additional Information
Previously I used v0.1.120 and it worked well. AUTOMATIC1111 version is 1.9.3. It generates images well therefore I think it is open-webui backend's bug. Thank you for your effort!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @kmc7468 on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1927
Bug Report
Description
Bug Summary:
Maybe from v0.1.123, image generation using AUTOMATIC1111 doesn't work.
Steps to Reproduce:
Expected Behavior:
Generated image should be displayed.
Actual Behavior:
Error
Environment
Open WebUI Version: 0.1.123
Ollama (if applicable): 0.1.32
Operating System: Ubuntu Server 22.04 LTS
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
Something went wrong :/ cannot access local variable 'image_id' where it is not associated with a valueDocker Container Logs:

Screenshots (if applicable):

Installation Method
I used the following
docker-compose.ymlfile:Additional Information
Previously I used v0.1.120 and it worked well. AUTOMATIC1111 version is 1.9.3. It generates images well therefore I think it is open-webui backend's bug. Thank you for your effort!
@tjbck commented on GitHub (May 2, 2024):
Should be fixed now, let me know if the issue persists!
@kmc7468 commented on GitHub (May 2, 2024):
It works! Thank you for fast fix!