polli-image-bot icon indicating copy to clipboard operation
polli-image-bot copied to clipboard

If anyone could help.

Open Screenmax1234 opened this issue 1 year ago • 6 comments

Image

I don't know what I did wrong?

Screenmax1234 avatar Jan 24 '25 14:01 Screenmax1234

ok so there is a small bug in the cogs/imagine_cog.py file...

These 2 lines of code:

Image

would be this instead:

value=f"```{prompt[:1020]+'...' if len(prompt)>= 1024 else prompt}```", and value=f"```{dic['enhanced_prompt'][:1020]+'...' if len(dic['enhanced_prompt'])>= 1024 else dic['enhanced_prompt']}```",

Please fix this in your fork and you will be good to go! I am working a complete overhaul of the bot, and all of these small bugs would be fixed in the next update!

Zingzy avatar Jan 24 '25 18:01 Zingzy

Hey @Zingzy sorry to bother but when do you think that update will come?

Screenmax1234 avatar Jan 24 '25 20:01 Screenmax1234

Thank you for your help though

Screenmax1234 avatar Jan 24 '25 20:01 Screenmax1234

Hey @Zingzy sorry to bother but when do you think that update will come?

I am a bit busy this week with my uni exams, I might be able to work on this next month

Zingzy avatar Jan 24 '25 21:01 Zingzy

@Zingzy I changed what you gave me but same thing just so you are aware

Screenmax1234 avatar Jan 25 '25 05:01 Screenmax1234

@Zingzy I changed what you gave me but same thing just so you are aware

Well can you please share the code you changed and the server log messages

Zingzy avatar Jan 25 '25 06:01 Zingzy