Перейти к содержимому

Python + GPT-4o + Flask = AI Meal Calorie Detector (GPT-4 Vision API)

Unconventional Coding

0:00 / 0:00

Python + GPT-4o + Flask = AI Meal Calorie Detector (GPT-4 Vision API)

11 883 просмотра · 2 г. назад
Unconventional Coding
12,5 тыс. подписчиков
11 883 просмотра · 2 г. назад
In today's video I create a GPT-4o powered simple meal calorie detector where you can upload an image of a meal and it will analyze it and tell you how many calories is in the meal GitHub: https://github.com/unconv/calorieapp Support: https://buymeacoffee.com/unconv Consultations: https://www.buymeacoffee.com/unconv/e... Memberships: https://www.buymeacoffee.com/unconv/m... 00:00 Testing with ChatGPT UI 03:38 Start coding: Connect to GPT-4o API 08:45 How to set the OpenAI API key 12:44 Getting JSON output from GPT4-o 18:25 Creating the Flask server 19:19 Design UI with ChatGPT 27:47 Handling the file upload 39:32 Adding a loading spinner 46:01 Final demo 47:19 Outro