Simple Machine Learning GUI App with Taipy and Tensorflow

Ғылым және технология

Today we will create a beautiful machine learning GUI application! We will design a web interface, where an image classifying neural network lives 🤖🤖🤖
We will use an open source library called Taipy for our stylish Python GUI and a framework called TensorFlow for all the machine learning tasks.
By the end of this tutorial, you will understand how to process image data for machine learning tasks, you will learn how to create and save your own image processing neural networks, as well as wrapping them in a user-friendly Python website!
⭐ For more information about the Taipy GUI, checkout their GitHub repo:
github.com/Avaiga/taipy
🎥 RELATED TUTORIALS 🎥
----------------------------------------------------------
⭐ Anaconda Beginners Guide for Linux and Windows:
• Anaconda Beginners Gui...
⭐ If _name_ == "__main__" for Python Developers:
• If __name__ == "__main...
⭐ Introduction to Neural Networks:
• Neural Network Simply ...
⭐ NumPy Arrays:
• Ultimate Guide to NumP...
⭐ NumPy Operations:
• NumPy Operations - Ult...
⭐ Introduction to Pillow:
• Image Processing with ...
⏰ TIME STAMPS ⏰
----------------------------------------------------------
Part 1. Graphic Interface
00:00 - 01:08 - introduction
01:08 - 03:44 - basic Taipy GUI
03:44 - 04:41 - basic HTML webpage
04:41 - 05:02 - basic Markdown webpage
05:02 - 06:23 - image control component
06:23 - 06:56 - styling with Python
06:56 - 07:37 - file selector control component
07:37 - 08:41 - text and line breaks
08:41 - 09:57 - wireframe review and refactoring
09:57 - 13:03 - updating components on state change
13:03 - 14:43 - indicator control component
Part 2. Machine Learning
14:43 - 19:21 - create your own neural network
Part 3. Put it Together
19:21 - 20:54 - load neural network
20:54 - 23:54 - process user provided image
23:54 - 26:04 - make prediction
26:04 - 29:16 - display prediction on GUI
29:19 - 30:51 - test complete app
💻 STARTER FILES 💻
-----------------------------------------------------------
github.com/MariyaSha/ml_gui_app
⚡TEST THE LIVE APP ⚡
-----------------------------------------------------------
classifier.taipy.cloud/
☁️ DEPLOY YOUR OWN APP ☁️
-----------------------------------------------------------
You can host your app for free on Taipy's cloud (it will run for 2hrs every day, but you can always upgrade).
1️⃣ Step 1. Revise the requirements.txt file to include ONLY the following lines (no versions needed, just the names of the libraries, and please erase everything else):
taipy
tensorflow
pillow
numpy
2️⃣ Step 2. rename classifier.py to main.py.
3️⃣ Step 3. wrap the following files in a zip archive:
- main.py
- baseline.keras
- logo.png
- placeholder_image.png
4️⃣ Step 4: sign up to Taipy cloud: cloud.taipy.io/
5️⃣ Step 5: add a machine
6️⃣ Step 6: add an app to your machine, upload the zip archive from step 3.
7️⃣ Step 7: wait a bit... and your app is LIVE!!! 🤩🤩🤩
🤝 Connect with me 🤝
-----------------------------------------------------------
🔗 Github:
github.com/mariyasha
🔗 Discord:
/ discord
🔗 LinkedIn:
/ mariyasha888
🔗 Twitter:
/ mariyasha888
🔗 Blog:
www.pythonsimplified.org
💳 Credits 💳
-----------------------------------------------------------
⭐ Beautiful titles, transitions, sound FX:
mixkit.co
⭐ Beautiful icons:
flaticon.com
⭐ Beautiful graphics:
freepik.com
#python #pythonprogramming #machinelearning #artificialintelligence #datascience #tensorflow #programming #coding #application #neuralnetworks #ml #ai #technology #computer #computerscience

Пікірлер: 270

  • @pythonpeng7018
    @pythonpeng70187 ай бұрын

    This video shows significant improvement, and I can truly feel the difference. I used to watch your introductory Python course, which, honestly, made me a bit drowsy. However, this video has completely grabbed my attention. The choice of a more challenging topic, coupled with a web page, is exactly what I needed to engage with machine learning without feeling overwhelmed. Your creative blend of machine learning and Python GUI is both refreshing and informative.

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Thank you so much for the incredible feedback!!! I'm so happy you like my new (yet constantly developing) style of tutorials!!! 🙂 I always try to make the next video better than the previous one - writing, filming and editing-wise. Actually, when I started this channel I knew nothing of videography or teaching! folks just kept asking for tutorials and I kept delivering content with the limited skillset I had at the time... Thank you so much for sticking around to see the improvement! And thank you for sharing your thoughts with me!! 😀😀😀

  • @Sinke_100

    @Sinke_100

    7 ай бұрын

    The reason why she grown so much, it's because she is humble person who can take compliments, suggestions and criticism too as positive value, she is also very hard working and engaged with comunity and her audience. In all of her videos she radiates with positivity, that is why she is a true marvel for python content on yt platform

  • @keithdow8327

    @keithdow8327

    7 ай бұрын

    Dude, you can also send her money.

  • @Sinke_100

    @Sinke_100

    7 ай бұрын

    @@keithdow8327 thanks for the tip, yes I saw now she entered a joining program

  • @cryptowitcher
    @cryptowitcher7 ай бұрын

    Your simplified approach to teaching is fantastic! The hands-on practice and relatable examples truly make these subjects easier to grasp. Thank you for creating an engaging learning environment that encourages exploration and experimentation.

  • @ocramnodroc
    @ocramnodroc7 ай бұрын

    You did a great job of presenting the material and you outshine technical educators with your lack of monotone speech. Very well done and you absolutely kept the energy up for the whole video. You did something that's actually hard to do and is rarely seen in this industry. Yay!

  • @setyoufree2726
    @setyoufree27266 ай бұрын

    The joy, smile and clear pronounce you bring during your tutorial make everything looked simple. Really love to learn from you... 🎉

  • @r3xxb0bb
    @r3xxb0bbАй бұрын

    You're a good teacher. Thank you for doing this!

  • @PatrickHoodDaniel
    @PatrickHoodDaniel7 ай бұрын

    I am very surprised that this channel has not been fed to me yet. Love the content!!

  • @_isDev
    @_isDev7 ай бұрын

    she did it again! great work! thank you!

  • @MogensBLaursen
    @MogensBLaursen3 ай бұрын

    Excellent walk-through - really love your fast-paced style

  • @lt3lt3lt3
    @lt3lt3lt37 ай бұрын

    I made my first ml project today because of what you did here, thank you.

  • @jonathanokellox
    @jonathanokellox7 ай бұрын

    please please please make us a complete Taipy tutorial, please

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Thanks so much for your request! If I see more comments like yours - I definitely will! 😉

  • @walaahamed7961

    @walaahamed7961

    7 ай бұрын

    Yes please , we ask your help in a taiby full tutorial 🙏 and if I may ask Which is better from your experience taipy or Tkinter or kivy ?

  • @user-gt3dl8nj4w
    @user-gt3dl8nj4w7 ай бұрын

    Been following all the tutorials,,they are all well presented and made me have a real passion to python and coding in general😇

  • @michaelomosebi6374
    @michaelomosebi637424 күн бұрын

    This video is giving me multiple ideas for new projects. This is indeed Python Simplified!

  • @shawonshovon226
    @shawonshovon2263 ай бұрын

    You helped me fall in love with Python. Thank you for teaching me!

  • @gerardcubaka342
    @gerardcubaka3425 ай бұрын

    You are the best, I love your content and your voice. Thank you very much

  • @go.battle
    @go.battle7 ай бұрын

    Learning Python right now and aiming to learn more languages your videos are helpful, so you gain my subscription

  • @davidtindell950
    @davidtindell9507 ай бұрын

    GREAT! THANK YOU!! We did not know about Taipy and how to setup interfaces to our TensorFlow projects. Next, we will try it with PyTorch !

  • @yacahumax1431
    @yacahumax14316 ай бұрын

    Amazing tutorial. Thank you. In one tutorial you show me more about AI than any other I have seen.

  • @adeoluwaoyin
    @adeoluwaoyin6 ай бұрын

    This is by far the best video I’ve seen on KZread because it literally just saved my life. I’m an MSc student and my deep learning was to build cnn model that classifies waste images. My next step is deployment and I’ve been everywhere. I stumbled upon this video and i wish i can meet you to say thank you 😢. God bless you. This is super amazing. The details and explanation is extraordinary.

  • @arnoweber9448

    @arnoweber9448

    6 ай бұрын

    figuratively, not literally 🚝

  • @Deepsim
    @Deepsim5 ай бұрын

    Excellent tutorial!

  • @JoaoMarcosFromBrasil
    @JoaoMarcosFromBrasil7 ай бұрын

    This was a really inspiring video for my projects. As a molecular biologist, my knowledge of artificial intelligence is very limited. However, this video gave me the idea that it might be possible to design a neural network to define why we are human. If one day I achieve this feat, I will be immensely grateful for your teachings.

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Thank you so much, Joao! 😀 There are many similarities between artificial neural networks and the way us, humans, process information! Our patterns of thinking are also a result of the data we are exposed to, and therefore combining it with molecular biology might be the missing link to achieve AGI 😉 (a thinking machine capable of human intelligence). Also, thank you so much for supporting the channel and joining the membership program! I'm still trying to figure out how it works and how to set up the members only live streams - but I promise to take care of it this month! 😀 I'm planning to build a neural network from scratch in this stream and get you guys involved with picking the type of data it will process, as well as the structure and hyperparameters of the NN. It's gonna be awesome!... I just need to finish the current project I'm working on before diving into it 😊 Cheers and thanks again! 😁😁😁

  • @MaximStarikov
    @MaximStarikov5 ай бұрын

    The best ASMR learning videos I ever seen! Your "booom" and "yeey" are soo nice :) Maria, you are the best, so much info in so short videos! Thank you!

  • @EmaMazzi76
    @EmaMazzi767 ай бұрын

    So good to see you back, Mariya 😄

  • @xtazy1337
    @xtazy13377 ай бұрын

    Thank you for all the explanation and tips, this is a big help for me wanting to become a pro.... I am tired of answering people's calls and running office repairs for a living...😅😂

  • @archi_designer
    @archi_designer6 ай бұрын

    The best explanation i ever seen

  • @euyin77
    @euyin775 ай бұрын

    You are the best! 😃 Thank you veryo much for all of this.

  • @user-dt8fy4te9k
    @user-dt8fy4te9k6 ай бұрын

    Very good quality job! 👏

  • @praveenm3414
    @praveenm34147 ай бұрын

    Very informative video, Excellent explanation/description if the entire development of a GUI in Python with Taipy and TensorFlow. 👍🙂

  • @dirtyPeter2
    @dirtyPeter23 ай бұрын

    Love it. Thanks a lot. That is exactly what I was looking for :D

  • @mindhappy912
    @mindhappy9127 ай бұрын

    It's unbelievable! How does KZread know I am looking for this inspiring video or book of how to embed machine learning in GUI? So KZread introduces this video of yours to me! So amazing ! I can not wait to watch your video now.

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Fantastic!!! Super happy to catch you right on time! 😉

  • @jetspray3

    @jetspray3

    7 ай бұрын

    It algorithms base on what you have search and look at before.

  • @tamtam8420
    @tamtam84204 ай бұрын

    Thanks for sharing this video with us, I was breaking my head on my next project, which should be associated with AWS, and thanks to you now I know.

  • @rangabharath4253
    @rangabharath42537 ай бұрын

    Awesome as always. Thank you so much for the interesting and useful content. Keep rocking😎

  • @Elijah-mo1wv
    @Elijah-mo1wv7 ай бұрын

    I'm in for the Taipy tutorial, thanks a lot Mariya

  • @haydnrayturner1383
    @haydnrayturner13837 ай бұрын

    I do love your videos, so easy to follow and understand!! 😄😄

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Thank you so much!!! Super happy to hear!! 😀

  • @haydnrayturner1383

    @haydnrayturner1383

    7 ай бұрын

    @@PythonSimplified I'm gonna see if I can make an Overclock utility with this method. Unless you wanna make your own video for this idea.. up to you.

  • @_PremKharat
    @_PremKharat7 ай бұрын

    Thank You so much I really need such type of guided video for my Final Year Project Keep Making Such videos😃😃

  • @haniihsanuddin9585
    @haniihsanuddin95852 ай бұрын

    Thank you so much for this! :)

  • @QbitSyria
    @QbitSyria7 ай бұрын

    Great ❤, well done Maria... Waiting for the upcoming great content

  • @kloudytics
    @kloudytics7 ай бұрын

    Amazing! Thank you for such a nice content with a clear explanation.

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Thank you so much for the lovely comment! 😀

  • @amaraelbarquito
    @amaraelbarquito7 ай бұрын

    Muy bien, Gracias. Son siempre interesantes las librerias que traes.

  • @akshay2012rdts
    @akshay2012rdts7 ай бұрын

    Great video, thanks Mariya !

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    You're welcome! Enjoy!! 😀😀😀

  • @nadeemrafiq2198
    @nadeemrafiq21987 ай бұрын

    Supporting from pakistan, your amazing KZreadr about python 🎉

  • @PabloEmmanuelDeLeo
    @PabloEmmanuelDeLeo7 ай бұрын

    Bravo. Sos una genia me encanta como explicas. Aparte lo tomas con esa onda que me gusta mucho. Genia.

  • @facturacionhernandezhernan5092
    @facturacionhernandezhernan50925 ай бұрын

    What a such beautyfull developer you are 😍😍

  • @royjones1053
    @royjones10537 ай бұрын

    Great to see your content again

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Thank you so much! great to be back!!! 🙂🙂🙂

  • @User_ML907
    @User_ML9076 ай бұрын

    Great job. Subscribed.

  • @MonaCodeLisa
    @MonaCodeLisa7 ай бұрын

    Such a great video :) thank you so much for the great content, I am really happy to find someone who explains everything very well, yet keeping the video interesting and to the point, keep up the good work 👍👍👍תודה

  • @samsquamsh78
    @samsquamsh787 ай бұрын

    really good video! Really well walk through of how you structure the logic as well as the code! well done!

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Thank you so much!! Glad you liked it!! 😃😃😃

  • @ad1sirbu
    @ad1sirbu4 ай бұрын

    Props, very high quality teaching there. I recently made a small web app in Flask, I would have used Taipy if I'd seen this tutorial first.

  • @kukulcan369
    @kukulcan3697 ай бұрын

    ☺ speaks so clearly english programing terms that i feel like teach me in spanish 😚

  • @x00root
    @x00root7 ай бұрын

    Awsom tut, thanks a lot maryia 😊

  • @ahmadshabaz2724
    @ahmadshabaz27247 ай бұрын

    hi Mariya , your work is amazing,

  • @jimross8150
    @jimross81506 ай бұрын

    You're awesome thanks for the content

  • @way4708
    @way47087 ай бұрын

    Wow cute teacher, now lets study 🤪. In a serious note, good content. Thanks

  • @firdousbhat123
    @firdousbhat1237 ай бұрын

    You motivated me again to go on with this ML stuff

  • @andrewtagg3690
    @andrewtagg36906 ай бұрын

    Awesome video, I stumbled a few times trying to get this working on an M2 Mac, some of the items in the requirements did not seem happy. I commented out a few and got it working. In fact I learn better when there are a few glitches for me to solve. Lots of new concepts here for me, so will go back over your previous videos on Jupyter etc. many thanks.

  • @javascriptes
    @javascriptes7 ай бұрын

    I love it and I am glad that I found you. But I got lost in the initial setup because I am just getting started with Py and ML. It would be nice to recommend a video for that. But I am very impress with your work and fluency. Outstanding work.

  • @thefattysplace
    @thefattysplace3 ай бұрын

    You are both incredibly intelligent and beautiful.

  • @itsMohak
    @itsMohak7 ай бұрын

    A cute software developer... Nice.

  • @futuresick100

    @futuresick100

    4 ай бұрын

    Bro comments like yours are the reason more women don't go into tech and dev. Don't be a clown your whole life.

  • @richardhaddadau
    @richardhaddadau6 ай бұрын

    Great video. You definitely have a gift for teaching. Just a note, VW is Viewport Width, which is the width of the browser window.

  • @umarsoji19
    @umarsoji197 ай бұрын

    Frankly this is awesome Mariya

  • @frankmartinez576
    @frankmartinez576Ай бұрын

    Yes this is what I'm talking about!

  • @noface960
    @noface9607 ай бұрын

    I love you, thank for you work

  • @edwardcheng8974
    @edwardcheng89746 ай бұрын

    Saw a few vids before and got bored and felt not really helpful in the past, but this one covers a wide range of applications and provided some free hosting options. Decent work!

  • @gerardoesquivia
    @gerardoesquivia6 ай бұрын

    Muchas gracias, fue muy nutritivo, lo enseñare a mis estudiantes, y lo compartire.

  • @cleofaspintolimalima1627
    @cleofaspintolimalima16277 ай бұрын

    Hey , there, I am here ,from brazil

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Greetings from Vancouver!! 😀😀😀

  • @tonym5857
    @tonym58577 ай бұрын

    You motive us, great video 👏👏👏👏

  • @thedeparted_one
    @thedeparted_one3 ай бұрын

    Thank you!

  • @tkdgab
    @tkdgab7 ай бұрын

    So incredibly simple, yet so dense, powerful and complete ... as all of your videos. Thank you! ☺

  • @rje4242
    @rje42427 ай бұрын

    never heard of Taipy before, great video topic. One thing I wanted to find out ASAP was "is Taipy a self contained component, or is it a wrapper around an external for pay service?" Python has a zoo of web gui approaches like Shiny and .Gradio and it's great to hear about Taipy's fresh take.

  • @udaydon456
    @udaydon4567 ай бұрын

    Okk we are waiting

  • @user-gq3xu4vj8d
    @user-gq3xu4vj8d6 ай бұрын

    Great content thank you

  • @botpython8785
    @botpython87857 ай бұрын

    Your video on "Simple Machine Learning GUI App with Taipy and Tensorflow" caught my attention while I was studying, and I must say, it was impressive! Your delivery was excellent. I'm eager to learn more about "LangChain with Llama". Could you consider creating a video specifically focusing on this topic, similar to the quality of this content? That would be greatly appreciated.

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Thank you so much dear! I haven't had a chance to work with Llama yet, but if I see more requests - will definitely give it a go! 😉

  • @code-to-learn
    @code-to-learn7 ай бұрын

    You are really a genius ❤❤

  • @Maesdy01
    @Maesdy017 ай бұрын

    Thats what i needed.

  • @AlexandrShpv
    @AlexandrShpv7 ай бұрын

    Класс! Из твоих уст английский такой понятный и родной 😀

  • @freepythoncode
    @freepythoncode6 ай бұрын

    Thank you so much 🙂❤

  • @paulgoyes3335
    @paulgoyes33357 ай бұрын

    Masha is the best, it is exactly what I was waiting for :D thanks

  • @brandonsager223
    @brandonsager2237 ай бұрын

    Love this

  • @dedeye4349
    @dedeye43495 ай бұрын

    Wow great job really enjoyed this video helped me with my ML application I am creating thanks Mariya!

  • @keithdow8327
    @keithdow83277 ай бұрын

    Thanks!

  • @krushnakumargajbhiye2871
    @krushnakumargajbhiye28717 ай бұрын

    Really love your smile ❤

  • @tuannguyenuc3513
    @tuannguyenuc35137 ай бұрын

    Boiz, Now I officially know the definition of intellectual beauty.

  • @computerscienceTutor3511
    @computerscienceTutor35117 ай бұрын

    Thank you so much ❣️

  • @kakashigaiden93
    @kakashigaiden935 ай бұрын

    well presented

  • @morgan7street
    @morgan7street6 ай бұрын

    You are beautiful and intelligent thank you for sharing💗

  • @affiliateanimalistic9607
    @affiliateanimalistic96076 ай бұрын

    Thank you! This was wonderful and very easy to learn 😊 when you test and write your code for the first time. Will you smile as much as in video? 🤔

  • @erikamoonreeves6462
    @erikamoonreeves64627 ай бұрын

    Saludos desde murcia , españa .

  • @PythonSimplified

    @PythonSimplified

    7 ай бұрын

    Saludos desde Vancouver!! 😀😀😀

  • @xitrumgmail
    @xitrumgmail4 ай бұрын

    Excellent tutorial on Taipy. I was looking at Taipy as a tool to create simple Python GUI web app a few days ago as an alternative to other Javascript framework and almost given up because of the lack of clarity from Taipy official website and even their YT videos until I saw your video. I guess they need to hire you to do some PR for them (taipy) because they do have a wonderful framework but don't know how to market it.

  • @plankton383
    @plankton3837 ай бұрын

    I love smart people 😊

  • @marvelousncube
    @marvelousncube7 ай бұрын

    I love this

  • @semahirachid8465
    @semahirachid84657 ай бұрын

    You make me shy when you say Bravo ! 🙃, thank you again and again

  • @carsonfball4
    @carsonfball42 ай бұрын

    30:00 Elk are a species of deer. So, from a biological standpoint, the ML is correct. From Wikipedia: "The elk (pl.: elk or elks; Cervus canadensis), or wapiti, is the second largest species within the deer family,"

  • @miguelesteves7454
    @miguelesteves74546 ай бұрын

    I opened the video to see what I would learn today and ended up falling in love.

  • @dankprole7884
    @dankprole78847 ай бұрын

    29:00 this is the type of OCD only true coders understand 😊

  • @mibrahim4245
    @mibrahim42457 ай бұрын

    Thank you M

  • @AnnoyingErrors41
    @AnnoyingErrors417 ай бұрын

    Tiny correction while uploading to cloud. Don't forget to add in the requirements.txt file and ensure that the compressed file is a ZIP and not a RAR file.

  • @staffiman
    @staffiman7 ай бұрын

    Bravo 👏👏, thank you Mariya for this superb video. As always, I enjoyed watching it. I'd just like to make a correction regarding the error you must have noticed when running the app: --- 1 warning(s) were found for page '/' in variable 'index' --- - Warning 1: Opened tag part in line 2 is not closed. ----------------------------------------------------------------- In fact, you just need to add a pipe before > at the end of the index variable like this: |>""" And Boouuum there are no more errors 😉 I waiting for the upcoming great content ❤

  • @serychristianrenaud
    @serychristianrenaud7 ай бұрын

    Thanks

  • @paulocoelho558
    @paulocoelho558Ай бұрын

    Hi Mariya! Do you know streamlit? I would need your simplification to understand the main differences of PyTorch and TensorFlow... Sometimes I get confused with so many things that we can choose to learn... That's why I like your channel so much! 😽😽😉😄

  • @bow2me26
    @bow2me264 ай бұрын

    I see a lot of tutorials on stuff like image recognition on the web. I hope she does a machine learning tutorial to do something like a ai that can draw useful 3d models that we can use with 3d printers and stuff like that. I haven't seen a tutorial like that yet.

  • @mayankdewli1010
    @mayankdewli10106 ай бұрын

    You're so beautiful and intelligent. Sladki poroshov

Келесі