Chainlit / cookbook

Chainlit's cookbook repo
https://github.com/Chainlit/chainlit
648 stars 240 forks source link

Add a custom logo #119

Open Parth4747 opened 1 month ago

Parth4747 commented 1 month ago

When I try to add a custom logo to my already-made AI Assistant , I made a folder named public and put the logo in it. I then restarted my application based on the given example of the "custom-logo" but when I restarted my application, my logo was not visible, and the default logo of ChainLit was visible. If there is any further procedure ID there, please give me steps for that.

chibexme commented 3 weeks ago

I have this issue too on the latest version at the moment version 1.1.300rc5

AIprjcts commented 3 weeks ago

I had the same problem too. Try to rename your logo file name to logo_dark.png and logo_light.png, for me that worked with the last version 1.1.300.

BachNgoH commented 1 week ago

Maybe you should delete your cache and restart your application

lucashoeft commented 1 day ago

You need to add both logo files for dark and light mode named logo_dark.png and logo_light.png. It doesn't work if you upload only one version (e.g. only logo_light.png). The easiest way is to duplicate the image and the rename the copy.