mishl-dev / Discord-AI-Chatbot

This Discord chatbot is incredibly versatile. Powered incredibly fast Groq API
GNU Affero General Public License v3.0
1.32k stars 417 forks source link

Error during image generation #165

Closed ghost closed 1 year ago

ghost commented 1 year ago

The error was specific to only Imagine v4 Creative at first, but now it's there for all image generation modules.


Traceback (most recent call last):
  File "/home/runner/JustChat/imaginepy/async_imagine.py", line 79, in sdprem
    async with self.session.post(
  File "/home/runner/JustChat/venv/lib/python3.10/site-packages/aiohttp/client.py", line 1141, in __aenter__
    self._resp = await self._coro
  File "/home/runner/JustChat/venv/lib/python3.10/site-packages/aiohttp/client.py", line 643, in _request
    resp.raise_for_status()
  File "/home/runner/JustChat/venv/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1005, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://inferenceengine.vyro.ai/sdprem')```
mishl-dev commented 1 year ago

The api is down

ghost commented 1 year ago

What API are you using for this?

elricsilverhandx commented 1 year ago

The api is down

https://github.com/skzhengkai/vyro.ai-imagine

elricsilverhandx commented 1 year ago

no need api change only headers add style-id and fixed

elricsilverhandx commented 1 year ago

yep api change and now fix

image

second test

image

ghost commented 1 year ago

It still errors out the same way. Am I missing something?

mishl-dev commented 1 year ago

It still errors out the same way. Am I missing something?

it should be fixed idk

steph4041 commented 1 year ago

broke again 💀

mishl-dev commented 1 year ago

fixed