Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LocalAI Image generation #81

Open
lianee opened this issue Nov 1, 2023 · 3 comments
Open

LocalAI Image generation #81

lianee opened this issue Nov 1, 2023 · 3 comments
Labels
good first issue Good for newcomers

Comments

@lianee
Copy link

lianee commented Nov 1, 2023

Describe the bug
LLMStack returns 'b64_json' instead of the generated image

To Reproduce
Steps to reproduce the behavior:

  1. Go to Playground
  2. Click on 'LocalAI', 'Image Generations
  3. put a description
  4. put LocalAI address in the "Base Url" field, despite the fact it is already set in settings?
  5. Click "Run" and See error

2023-11-01_13-52

LocalAI successfully generated image:

12:46PM DBG Response: {"created":1698842780,"id":"1d01c64f-45c5-4253-bcb8-a9879ea818ae","data":[{"embedding":null,"index":0,"url":"http://ai.example.com:8080/generated-images/b64762071389.png"}],"usage":{"prompt_tokens":0,"completion_tokens":0,"total_tokens":0}}

b64762071389

Expected behavior
Display generated image

Version
v0.0.17

Environment
Ubuntu 22.04
pip install llmstack
LocalAI on another debian box with several models available

@vegito22 vegito22 added the good first issue Good for newcomers label Nov 17, 2023
@shubhamofbce
Copy link

I am interested in working on this issue, Are we still facing this ??

@ajhai
Copy link
Contributor

ajhai commented Jan 10, 2024

@shubhamofbce yes, i believe this still is an issue

@shubhamofbce
Copy link

local development guide is quite old, facing a lot of issues in running it locally.
Do you have an updated guide ??
docker compose file is missing and when i am running the django app locally it is throwing random error. trying to fix them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants