Please update this full file, Fux bugs and error: Some response still not in formatting, use span code lable also. And for response to much take time it, first 3-4 secound show Typing animation after Direct complete typing animation fix it bot responding with more 2x speed not touch fast speed. And from to the end maintain speed directly don't complete it. and fix code for when show "```" there is bugs on it, file name and code box between have space so fix it also. And user icon show in right side also. ""

Hm now when you found only like this with space "# text" then it "#" is h2. Make sure it is h2 when space show between hash (#) and text. And also no other word before #. And show code box when you found starting "``` {code} ```" here show code box use code tag, and still show code preview fix it, I want to show code. Also show copy button. And after show response of ai in bottom left side show like and desilike icons. When user like then also show Toast notification, and also dislike then also show toast notification with no lag free animations. 

Convert this Image genration script to Gradio male it simple and small. And also give me package for gradio

Comments