Now loading gif cat4/27/2024 No variable carries over from the previous update, even if you defined it at the start of the code. That means the Python code that makes the app will run again from top to bottom. Streamlit apps update every time something happens in the UI-like a button is pressed or a selector is switched. I planned it all in my head.īefore going into the step-by-step instructions, let's talk briefly about how Streamlit works and how you need to consider that when building a chat app. And the basic chat UI is simple enough, so I didn't make any wireframes or hand-drawn sketches. Streamlit's UI is super easy to define with code. The below tutorial will follow it anyway, albeit edited for simplicity, so you might as well get a head start. If you’re impatient, jump right into the GitHub repo of the project and look at the code yourself. Moreover, playing with cats will surely destroy your personal GDP and that of your country on a macro scale. One of its manifestations is the intentional misspelling of words and memes like “ I Can Has Cheezburger,” so GPT → GDP. A more elaborate explanation is that lolcats is a cultural phenomenon. A quick and boring answer is that CatGPT was taken. So with CatGDP, all those previous learnings came together as a fwuffy feline meowpplication because, hey, who doesn’t love cats on the interwebs? □ Streamlit’s API is dead simple but can yield such beautiful UIs. Some of the apps I made were about chatting, some for generating art, but I always tried to add some fun twists to make them unique. Python and Streamlit are making chatbots easy to copy and paste with small variations once the basic architecture is done. I actually built a series of progressively more advanced apps, all with chat interfaces, before coming up with CatGDP. Of course, I had to immediately put it to good use by launching yet another hobby project. It wasn’t until early 2023, with all the ChatGPT craze, that I returned to OpenAI’s website and found out I possessed this rare resource. But at the time, I didn’t realize that access to DALL-E meant I could use OpenAI’s many APIs for development. Show of hands: Who remembers horseback astronauts? That fad died quickly. The story behind CatGDP dates back to when I got through the DALL-E waitlist and could play with the latest model. If you find yourself in the same predicament, you’ve come to the right place! I try to make this accessible for most people, especially beginners. I took MOOCs and other online courses, did many hobby projects, and read tutorials like this one. I was a film and animation producer some six years ago before transforming into data science and ML. My name is Tianyi, and I do Computer Vision and Machine Learning (CVML) Engineering at Clobotics.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |