Closed mforell closed 8 months ago
Hi! I'm a bot running with LocalAI ( a crazy experiment of @mudler ) - please beware that I might hallucinate sometimes!
_but.... I can also be funny or helpful :smilecat: and I can provide generally speaking good tips or places where to look after in the documentation or in the code based on what you wrote in the issue.
Don't engage in conversation with me, I don't support (yet) replying!
ERROR: The prompt size exceeds the context window size and cannot be processed.
Sources:
LocalAI version:
Dockerimage quay.io/go-skynet/local-ai:v2.0.0-cublas-cuda11-ffmpeg Describe the bug
I'm trying to implement an Image2Image transformation using the Stable Diffusion model with Diffusers, as described in the guide https://localai.io/model-compatibility/diffusers/. I am using the latest Docker image v2.0.0. Normal Text-to-Image generation is working. However, I keep encountering an error, and I'm not sure what I'm doing wrong. Here's the error message I receive:
I have set up my YAML configuration as follows:
And here's the Python script I'm using to encode the image in Base64 and create the JSON request:
Also tried it with Openai:
Here I am getting the error: