cannot display the image #1068

Closed
opened 2025-11-11 14:36:39 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @tqangxl on GitHub (May 29, 2024).

Bug Report

Description

cannot display the image

Bug Summary:
[Provide a brief but clear summary of the bug]
image

Steps to Reproduce:

  1. run open-webui1\backend\start_windows.bat
  2. use ollama model :
    mskimomadto/chat-gph-vision:latest
    to gen image

Expected Behavior:
[Describe what you expected to happen.]

Actual Behavior:
[Describe what actually happened.]

Environment

image

  • Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]

  • Windows 11 专业版
    版本 23H2
    操作系统版本 22631.3593
    体验 Windows Feature Experience Pack 1000.22700.1003.0

  • Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]
    Microsoft Edge 125.0.2535.67 (正式版本) (64 bit)

Reproduction Details

Confirmation:

  • [ yes] I have read and followed all the instructions provided in the README.md.
  • [yes ] I am on the latest version of both Open WebUI and Ollama.
  • [yes ] I have included the browser console logs.

Logs and Screenshots

image

Browser Console Logs:
[Include relevant browser console logs, if applicable]
submitPrompt 92793191-86aa-4b1d-b867-45e1b8f6aebf
4.3ddfc9ca.js:5 modelId mskimomadto/chat-gph-vision:latest
4.3ddfc9ca.js:5 null
4.3ddfc9ca.js:9 controller AbortController {signal: AbortSignal}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.6169016Z","message":{"role":"assistant","content":"Sure"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.6743412Z","message":{"role":"assistant","content":","},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.7485237Z","message":{"role":"assistant","content":" here"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.8182576Z","message":{"role":"assistant","content":"'"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.8863139Z","message":{"role":"assistant","content":"z"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.9375983Z","message":{"role":"assistant","content":" a"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.9874146Z","message":{"role":"assistant","content":" large"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.0422106Z","message":{"role":"assistant","content":" image"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.0960069Z","message":{"role":"assistant","content":" of"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.1544696Z","message":{"role":"assistant","content":" a"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.2108937Z","message":{"role":"assistant","content":" clear"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.2584882Z","message":{"role":"assistant","content":" blue"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.3133619Z","message":{"role":"assistant","content":" sky"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.3579648Z","message":{"role":"assistant","content":" with"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.4116604Z","message":{"role":"assistant","content":" no"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.4579293Z","message":{"role":"assistant","content":" clouds"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.5151903Z","message":{"role":"assistant","content":":\n\n"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.577411Z","message":{"role":"assistant","content":"["},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.6202261Z","message":{"role":"assistant","content":"Image"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.6626843Z","message":{"role":"assistant","content":" description"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.7156256Z","message":{"role":"assistant","content":" goes"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.7883875Z","message":{"role":"assistant","content":" here"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.8357197Z","message":{"role":"assistant","content":"]"},"done":false}
4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.8862095Z","message":{"role":"assistant","content":""},"done_reason":"stop","done":true,"total_duration":1894753000,"load_duration":1327300,"prompt_eval_count":55,"prompt_eval_duration":607678000,"eval_count":24,"eval_duration":1272571000}

Docker Container Logs:
[Include relevant Docker container logs, if applicable]

Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
image

Installation Method

stall from Open WebUI Github Repo

Requirements 📦
🐰 Node.js >= 20.10
🐍 Python >= 3.11

PS D:\Lib\Dev\AI\open-webui> python
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

PS D:\Lib\Dev\AI\open-webui> node -v
v20.13.1
PS D:\Lib\Dev\AI\open-webui>

Build and Install 🛠️
Run the following commands to install:
git clone https://github.com/open-webui/open-webui.git
cd open-webui/

Copying required .env file

cp -RPp .env.example .env

Building Frontend Using Node

npm i
npm run build

Serving Frontend with the Backend

cd ./backend
pip install -r requirements.txt -U
run open-webui1\backend\start_windows.bat

You should have Open WebUI up and running at http://localhost:8080/. Enjoy! 😄

Originally created by @tqangxl on GitHub (May 29, 2024). # Bug Report ## Description cannot display the image **Bug Summary:** [Provide a brief but clear summary of the bug] ![image](https://github.com/open-webui/open-webui/assets/9669944/4afbbd3a-ba64-4ae2-a55d-378565533ed5) **Steps to Reproduce:** 1. run open-webui1\backend\start_windows.bat 2. use ollama model : mskimomadto/chat-gph-vision:latest to gen image **Expected Behavior:** [Describe what you expected to happen.] **Actual Behavior:** [Describe what actually happened.] ## Environment ![image](https://github.com/open-webui/open-webui/assets/9669944/4850993c-a036-43ae-9faf-4dca49d47d68) - **Operating System:** [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04] - Windows 11 专业版 版本 23H2 操作系统版本 22631.3593 体验 Windows Feature Experience Pack 1000.22700.1003.0 - **Browser (if applicable):** [e.g., Chrome 100.0, Firefox 98.0] Microsoft Edge 125.0.2535.67 (正式版本) (64 bit) ## Reproduction Details **Confirmation:** - [ yes] I have read and followed all the instructions provided in the README.md. - [yes ] I am on the latest version of both Open WebUI and Ollama. - [yes ] I have included the browser console logs. ## Logs and Screenshots ![image](https://github.com/open-webui/open-webui/assets/9669944/73ee9f19-381e-468d-b2e3-34e0546be257) **Browser Console Logs:** [Include relevant browser console logs, if applicable] submitPrompt 92793191-86aa-4b1d-b867-45e1b8f6aebf 4.3ddfc9ca.js:5 modelId mskimomadto/chat-gph-vision:latest 4.3ddfc9ca.js:5 null 4.3ddfc9ca.js:9 controller AbortController {signal: AbortSignal} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.6169016Z","message":{"role":"assistant","content":"Sure"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.6743412Z","message":{"role":"assistant","content":","},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.7485237Z","message":{"role":"assistant","content":" here"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.8182576Z","message":{"role":"assistant","content":"'"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.8863139Z","message":{"role":"assistant","content":"z"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.9375983Z","message":{"role":"assistant","content":" a"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:29.9874146Z","message":{"role":"assistant","content":" large"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.0422106Z","message":{"role":"assistant","content":" image"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.0960069Z","message":{"role":"assistant","content":" of"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.1544696Z","message":{"role":"assistant","content":" a"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.2108937Z","message":{"role":"assistant","content":" clear"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.2584882Z","message":{"role":"assistant","content":" blue"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.3133619Z","message":{"role":"assistant","content":" sky"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.3579648Z","message":{"role":"assistant","content":" with"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.4116604Z","message":{"role":"assistant","content":" no"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.4579293Z","message":{"role":"assistant","content":" clouds"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.5151903Z","message":{"role":"assistant","content":":\n\n"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.577411Z","message":{"role":"assistant","content":"["},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.6202261Z","message":{"role":"assistant","content":"Image"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.6626843Z","message":{"role":"assistant","content":" description"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.7156256Z","message":{"role":"assistant","content":" goes"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.7883875Z","message":{"role":"assistant","content":" here"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.8357197Z","message":{"role":"assistant","content":"]"},"done":false} 4.3ddfc9ca.js:11 {"model":"mskimomadto/chat-gph-vision:latest","created_at":"2024-05-29T16:48:30.8862095Z","message":{"role":"assistant","content":""},"done_reason":"stop","done":true,"total_duration":1894753000,"load_duration":1327300,"prompt_eval_count":55,"prompt_eval_duration":607678000,"eval_count":24,"eval_duration":1272571000} **Docker Container Logs:** [Include relevant Docker container logs, if applicable] **Screenshots (if applicable):** [Attach any relevant screenshots to help illustrate the issue] ![image](https://github.com/open-webui/open-webui/assets/9669944/4c471734-b9ec-46c3-a717-5d129c3ea5a9) ## Installation Method stall from Open WebUI Github Repo Requirements 📦 🐰 [Node.js](https://nodejs.org/en) >= 20.10 🐍 [Python](https://python.org/) >= 3.11 PS D:\Lib\Dev\AI\open-webui> python Python 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> PS D:\Lib\Dev\AI\open-webui> node -v v20.13.1 PS D:\Lib\Dev\AI\open-webui> Build and Install 🛠️ Run the following commands to install: git clone https://github.com/open-webui/open-webui.git cd open-webui/ # Copying required .env file cp -RPp .env.example .env # Building Frontend Using Node npm i npm run build # Serving Frontend with the Backend cd ./backend pip install -r requirements.txt -U run open-webui1\backend\start_windows.bat You should have Open WebUI up and running at http://localhost:8080/. Enjoy! 😄
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1068