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

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

Closed
xXG0DLessXx opened this issue Jan 3, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@xXG0DLessXx
Copy link

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

@FuseFairy
Copy link
Owner

Is the mobile an ios system?

@xXG0DLessXx
Copy link
Author

Is the mobile an ios system?

Yes I am on iOS.

@FuseFairy
Copy link
Owner

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

@FuseFairy FuseFairy added the bug Something isn't working label Jan 5, 2024
@FuseFairy
Copy link
Owner

Upgrading to ver1.1.0 will solve the problem.

@xXG0DLessXx
Copy link
Author

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'

@xXG0DLessXx
Copy link
Author

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.

@xXG0DLessXx
Copy link
Author

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.

@xXG0DLessXx
Copy link
Author

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

@FuseFairy
Copy link
Owner

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.

@xXG0DLessXx
Copy link
Author

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

@FuseFairy
Copy link
Owner

FuseFairy commented Feb 6, 2024

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

Discord id: zhunag39

@xXG0DLessXx
Copy link
Author

I can’t find you..?
image

@FuseFairy
Copy link
Owner

FuseFairy commented Feb 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants