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

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • 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
  • Věda a technologie

Komentáře • 29

  • @tillidie4889
    @tillidie4889 Před rokem +4

    It makes so much more sense when you show me the code and compare it to the picture. Thank you so much.

  • @haroldbk
    @haroldbk Před 2 dny

    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".....)

  • @talhazia1401
    @talhazia1401 Před 11 měsíci +1

    Awesome. Watching your videos since last night and I am hooked. Very informative and simple to understand. 👍👍

  • @zagao
    @zagao Před rokem +2

    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:(

  • @bjornlindblom7729
    @bjornlindblom7729 Před rokem

    Excellent tutorial...Thanks!

  • @fundwaste
    @fundwaste Před 3 měsíci

    Excellent Hala. I really enjoyed watching your videos and the clear manner in which you explained what you were doing. I learnt so much.

  • @ghadaka-dx1ym
    @ghadaka-dx1ym Před 2 měsíci

    Thank u this is so helpful 🤩

  • @vpad201
    @vpad201 Před rokem

    super nice!!!

  • @garymaya1767
    @garymaya1767 Před rokem

    You are amazing!

  • @pranaybobade1
    @pranaybobade1 Před rokem

    You helped me a lot in learning new things. Thank you

    • @aroraanmol
      @aroraanmol Před rokem

      Its not working for me... rate limit error and quota usage over check billing.. what can i do

  • @nassimouari
    @nassimouari Před rokem

    WAWWW THAK YOU

  • @marvelousncube
    @marvelousncube Před rokem

    Thank you, ❤❤

  • @robertmanigault625
    @robertmanigault625 Před rokem +1

    Excellent video. Thank you.

  • @MuslimNews-cf3ee
    @MuslimNews-cf3ee Před 19 dny

    nice

  • @rodelioliwag7627
    @rodelioliwag7627 Před rokem

    Thanks.

  • @TheTobbeman37
    @TheTobbeman37 Před rokem

    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 ^^

  • @santoshshah1523
    @santoshshah1523 Před rokem

    😮😮

  • @daocanon7498
    @daocanon7498 Před 9 měsíci +1

    There are a few places I still don't understand, could you please share your code with me?

  • @Spot_the_Difference
    @Spot_the_Difference Před 4 měsíci +1

    is there source code?

  • @pranaybobade1
    @pranaybobade1 Před rokem

    Can you make the same for Ubuntu also?

  • @vasbkamarxil1260
    @vasbkamarxil1260 Před rokem

    класс

  • @aroraanmol
    @aroraanmol Před rokem

    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 Před rokem

      You need to pay or sign up with a new email.

    • @DhanushSd003
      @DhanushSd003 Před 11 měsíci

      I am also facing the issue in chatgpt api

    • @user-cp9mp4uq6z
      @user-cp9mp4uq6z Před 7 měsíci

      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 Před 7 měsíci

      @@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 Před rokem

    Online banking system is medium!? holy shit!

  • @jasonbheekarry2224
    @jasonbheekarry2224 Před rokem +1

    Is it just me or her voice is soo melodious 😐