课程: Creating Advanced AI Applications with Python, APIs, and GitHub Models

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Solution: Create an app layout

Solution: Create an app layout

(upbeat music) - [Instructor] And this is just one way to go about a solution. Now, remember that these models are deterministic, so I have no idea what code the models are going to generate and the code that will be generated will be different for you. So, I'm going to be using the GPT-4o mini model and I'm going to go ahead and reset my chat history because I don't need any of the previous chat history to help with generating any of the code that I need here. So, the first thing I want to do is I want to go ahead and create a Streamlit app. So, I'm going to say, "Using the Streamlit Python package, create the following." And then I go ahead and just do a Shift and Enter. And that allows me to go to the next line. And so, I want a title. And so, my title's going to be Multilingual Money Changer. And then I want to give it some instructions. So, "Below this, create a single text box where the user can enter text with a submit button." And then, "When the user selects the submit…

内容