Deploy GPT App by using API | Web Application using Flask

Опубликовано: 28 Октябрь 2024
на канале: Consolioo
944
21

Hi there, we worked on a very interesting topic which is GPT.
Everybody is using GPT with the official website and playing with it and also getting the useful content.
But we created a web app by using the API of GPT and created an app for a specific purpose like the prediction of sentiment using the text data. We can train a machine learning model for prediction of sentiments but we used API of GPT and did the same work. We used flask and openai for creating the app and also used html code for a very simple interface to get the user input and output of sentiment.


⏳Timestamps⏳
00:00 Intro
0:46 How to get GPT API
5:04 How to prepare training data for GPT API
7:41 How to create flask app by using GPT API
9:37 How to create html page for flask app
13:05 How to call gpt api for the results in flask
17:14 How to get prompt results on the html page using gpt api
19:56 Using werkzeug to run the flask app in jupyter notebook
23:43 How to get predictions using flask and gpt API
25:10 End

Please do follow
Facebook:
https://lnkd.in/dXPbT-9r

Instagram:
https://lnkd.in/dauxSHep

Linkedin:
  / consolioo  

Twitter:
  / consolioo  

Youtube:
   / @consolioo  

#gpt #chatgpttutorial #python