FuseFairy/DiscordBot-EdgeGPT

On mobile, when using the image creation, only the first image is displayed.

xXG0DLessXx opened this issue · 13 comments

On desktop and web, it shows all generated images. On mobile it only shows the first. If the first image couldn’t be generated, it shows empty even though there are other images generated… Maybe an issue due to the new mobile discord design? Not sure.
image

Is the mobile an ios system?

Is the mobile an ios system?

Yes I am on iOS.

In fact, the ios discord does have some problems, I will add the link button after or through other methods.

Upgrading to ver1.1.0 will solve the problem.

Upgrading to ver1.1.0 will solve the problem.

I just upgraded, and now the docker container won't start... Here the error logs:
Traceback (most recent call last):
File "/bot/bot.py", line 7, in
from cogs.event import set_chatbot
File "/bot/cogs/event.py", line 13, in
from src.user_chatbot import get_users_chatbot
File "/bot/src/user_chatbot.py", line 6, in
from src.image.image_create import create_image
File "/bot/src/image/image_create.py", line 4, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
Traceback (most recent call last):
File "/bot/bot.py", line 7, in
from cogs.event import set_chatbot
File "/bot/cogs/event.py", line 13, in
from src.user_chatbot import get_users_chatbot
File "/bot/src/user_chatbot.py", line 6, in
from src.image.image_create import create_image
File "/bot/src/image/image_create.py", line 4, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
Traceback (most recent call last):
File "/bot/bot.py", line 7, in
from cogs.event import set_chatbot
File "/bot/cogs/event.py", line 13, in
from src.user_chatbot import get_users_chatbot
File "/bot/src/user_chatbot.py", line 6, in
from src.image.image_create import create_image
File "/bot/src/image/image_create.py", line 4, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'

I seem to have fixed it.
Pillow==8.1.0
Was missing in the requirements.txt and i had to provide new cookies. Now works.

New error, I now get
Error: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://www.bing.com/images/kblob')

When trying to chat... but at least image creation is working.

Addendum to the above: It seems as soon as I try to switch style I get the above error. Balanced style seems to work.

Try using the latest version, the api has updates, if the error still occurs, it should be a problem with the country of the account, you can try to apply for another country's account, like I am using Taiwan's account.

Try using the latest version, the api has updates, if the error still occurs, it should be a problem with the country of the account, you can try to apply for another country's account, like I am using Taiwan's account.

Sorry for the late reply. Anyway, image gen now works pretty well, and chatting with Bing using the /bing command also works, but trying to continue a conversation, or calling on bing with @ , causes this error:
image

Contact me on Discord, I borrow you my cookies and try again

Discord id: zhunag39

I can’t find you..?
image

Sorry, I made a mistake; it's zhuang39.