Tkinter ChatGPT App - Modern Tkinter GUI Chatbot [tutorial for beginners]

  Рет қаралды 23,815

Code First with Hala

Code First with Hala

Күн бұрын

With Python, Tkinter, and the ChatGPT API, create a Project Ideas Generator app. This tutorial is beginner-friendly.
Learn Tkinter and Tkinter for GUI design. Learn how to use the ChatGPT API from OpenAI.
In this tutorial, you will:
- Learn how to setup an OpenAI account
- Get your OpenAI API key
- Install the Python OpenAI library
- Use Python to talk to ChatGPT
- Learn about Tkinter and Customtkinter
- Install Customtkinter
- Use labels, buttons, entries in Tkinter
- Make an interface with Customtkinter
Source code:
Timestamps:
00:00 Introduction and demo
01:24 Setting up your OpenAI account
01:36 Getting and storing your OpenAI API Key
02:29 Interacting with the ChatGPT API with Python
05:19 Building the Customtkinter interface
17:31 Connecting the interface and ChatGPT
Socials:
My email: code.first.io@gmail.com
Tiktok: / hala.codes
*************
*Tags*
Modern Tkinter
Modern Python GUI
Modern GUI Python
Customtkinter
Tkinter tutorial
Tkinter GUI tutorial
GUI tutorial Python
GUI Project Python
Graphical User Interface Python
Python tutorial
Tkinter widgets
ChatGPT
Python ChatGPT
Python ChatGPT API
ChatGPT API
ChatGPT API Python

Пікірлер: 29
@tillidie4889
@tillidie4889 Жыл бұрын
It makes so much more sense when you show me the code and compare it to the picture. Thank you so much.
@zagao
@zagao Жыл бұрын
Hala, amazing tutorial. I enhanced your gui by adding one more dropbox for language and added to chatgpt input prompt: "Provide the answer in "+language. Wonderful to get the answer in any language you want. This ChatGPT tool is so powerful that it is already scaring me:(
@talhazia1401
@talhazia1401 Жыл бұрын
Awesome. Watching your videos since last night and I am hooked. Very informative and simple to understand. 👍👍
@fundwaste
@fundwaste 4 ай бұрын
Excellent Hala. I really enjoyed watching your videos and the clear manner in which you explained what you were doing. I learnt so much.
@bjornlindblom7729
@bjornlindblom7729 Жыл бұрын
Excellent tutorial...Thanks!
@haroldbk
@haroldbk 17 күн бұрын
This was a great learning experience for me. Not only was it a great explanation on how to use openai but also widget placement especially using frames. my suggestion is that you update the OpenAI import statement. I found I needed to first buy a minimum subscription for OpenAI. from openai import OpenAI client=OpenAI(api_key=os.getenv("OpenAI_API_Key")) response =client.chat.completions.create(model="gpt-4o-mini".....)
@vpad201
@vpad201 Жыл бұрын
super nice!!!
@ghadaka-dx1ym
@ghadaka-dx1ym 2 ай бұрын
Thank u this is so helpful 🤩
@pranaybobade1
@pranaybobade1 Жыл бұрын
You helped me a lot in learning new things. Thank you
@aroraanmol
@aroraanmol Жыл бұрын
Its not working for me... rate limit error and quota usage over check billing.. what can i do
@garymaya1767
@garymaya1767 Жыл бұрын
You are amazing!
@marvelousncube
@marvelousncube Жыл бұрын
Thank you, ❤❤
@nassimouari
@nassimouari Жыл бұрын
WAWWW THAK YOU
@MuslimNews-cf3ee
@MuslimNews-cf3ee Ай бұрын
nice
@rodelioliwag7627
@rodelioliwag7627 Жыл бұрын
Thanks.
@robertmanigault625
@robertmanigault625 Жыл бұрын
Excellent video. Thank you.
@santoshshah1523
@santoshshah1523 Жыл бұрын
😮😮
@pranaybobade1
@pranaybobade1 Жыл бұрын
Can you make the same for Ubuntu also?
@TheTobbeman37
@TheTobbeman37 Жыл бұрын
Sent u a mail. How do you make it not cut off words at the end, and starts on new line? Hard to read when it dosent make a new word on new line instead of cutting it of and keeps midword on new line ^^
@daocanon7498
@daocanon7498 10 ай бұрын
There are a few places I still don't understand, could you please share your code with me?
@vasbkamarxil1260
@vasbkamarxil1260 Жыл бұрын
класс
@Spot_the_Difference
@Spot_the_Difference 5 ай бұрын
is there source code?
@aroraanmol
@aroraanmol Жыл бұрын
I have tried different models to run this like gpt3 turbo, babbage and even davinci-002 but still showing Rate limit error.. Exceeded current quota... Is any solution to this
@christophkrapp3140
@christophkrapp3140 Жыл бұрын
You need to pay or sign up with a new email.
@DhanushSd003
@DhanushSd003 Жыл бұрын
I am also facing the issue in chatgpt api
@user-cp9mp4uq6z
@user-cp9mp4uq6z 7 ай бұрын
Hi, I'm facing the same kind of error as well, it firstly told me to install version 0.28 of openai which I've done but now showing me that I've exceeded my quota limit, Can you please share what you later did to make it work? Thanks.
@aroraanmol
@aroraanmol 7 ай бұрын
@@user-cp9mp4uq6z Ya actually it requires the subscription so that we can use their API and get tokens. Previously it was free for new users, but for now we have to pay for the tokens. In this video there is no such info for the same
@JorgeEscobarMX
@JorgeEscobarMX Жыл бұрын
Online banking system is medium!? holy shit!
@jasonbheekarry2224
@jasonbheekarry2224 Жыл бұрын
Is it just me or her voice is soo melodious 😐
Using tkinter with classes
28:23
Atlas
Рет қаралды 58 М.
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 93 МЛН
ChatGPT Tutorial for Developers - 38 Ways to 10x Your Productivity
28:13
Programming with Mosh
Рет қаралды 3,5 МЛН
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 218 М.
Convert GUI App to Real Program -  Python to exe to setup wizard
23:27
Python Simplified
Рет қаралды 506 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,5 МЛН
Use a Drag & Drop Editor to Make Tkinter Python GUI Applications!
11:16
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 29 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 507 М.
Ускоряем ваш TV🚀
0:44
ARTEM_CHIBA
Рет қаралды 539 М.
Better Than Smart Phones☠️🤯 | #trollface
0:11
Not Sanu Moments
Рет қаралды 20 МЛН
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 716 М.