Create GUI App with Stable Diffusion, Docker, and Flask - Beginner Friendly!

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

Python Simplified

Python Simplified

Күн бұрын

Пікірлер: 96
@antor44
@antor44 4 ай бұрын
Great video! Just a couple of things to add. While I understand that you may have chosen Stable Diffusion 1.4 official version for its speed when running on CPU, it's important to note that this version is outdated, as well as version 1.5. Although these versions are still widely used due to community improvements, or possibly due to licensing restrictions on code or generated images, but the XL version produces much better images and more realistic photographs without the need for add-ons. Additionally, the latest version SD 3 is now available for local execution, with even more improvements and a more liberal licensing change. SD can also run on AMD cards using ROCm libraries, although only with newer models. While AMD may not have the best support, they have recently made improvements. Additionally, SD is compatible with ARM Apple computers and can be accelerated with their ANE chip. On the other hand, there are many SD code enhancements made by the free software community. For instance, SD XL is compatible with low-range graphic cards featuring 6 GB of VRAM, yielding comparable results to the official versions with only minor differences.There are also enhanced versions available for CPU-only systems.
@PythonSimplified
@PythonSimplified 4 ай бұрын
Thanks so much for the incredible tips and info, dear!!! I really appreciate it! 😀😀😀 Pinning your comment to the top in case folks would like to get some extra information! 😉
@antor44
@antor44 4 ай бұрын
​@@PythonSimplified It is an honor coming from the best online Python teacher.
@JohnyMatos-y8b
@JohnyMatos-y8b 3 ай бұрын
@@PythonSimplified You are awesome!
@captaincavemonkey
@captaincavemonkey 4 ай бұрын
I work full time as a programmer, and have for 20 years, but I sadly don't get much time to work with python, so your little courses are a nice quick refresher on certain things.
@PythonSimplified
@PythonSimplified 4 ай бұрын
That's awesome!! Super happy to hear you find my tutorials useful!!! 🙂🙂🙂 This project probably has the most advanced workflow since the inception of Python Simplified! I hope it makes custom Generative AI applications less intimidating (and much more enjoyable)! 😀
@paulocoelho558
@paulocoelho558 4 ай бұрын
Bookmarked for this week! Please make more videos like this one. There’s so much to learn, and your straightforward roadmap is a huge help. Thank you, Mariya. You’re amazing! 🤩✨😉
@PythonSimplified
@PythonSimplified 4 ай бұрын
Thank you so much for the incredible comment! More videos like this are coming your way very soon! 😀😀😀
@shogun8-9
@shogun8-9 3 ай бұрын
Glad you're back, you're a good educator. Taking notes.
@amarug
@amarug 4 ай бұрын
some of the best python tutorials on youtube. i've been hacking around with python for engineering and data science for over a decade now and i can still learn so much here. thanks a lot!! ps: what other channel uses that same short musical intro, i know ive heard it so many times but can't recall it
@HoldMyBeerFam
@HoldMyBeerFam 4 ай бұрын
Can't wait! I'm working on classes in the mean time, see yall in a few hours
@PythonSimplified
@PythonSimplified 4 ай бұрын
WOW!!! Beer classes??? Sign me up!!!! 🤪
@saipavan77
@saipavan77 4 ай бұрын
One of the unique tech channel i have come across
@PythonSimplified
@PythonSimplified 4 ай бұрын
Thank you so much, dear! My mom always told me I'm special! 🤪
@saipavan77
@saipavan77 4 ай бұрын
@@PythonSimplified 🥰
@anderson21652
@anderson21652 4 ай бұрын
The first time I saw you, I thought: I'm in love... with this kind of videos. Thanks for helping the community. Keep it up!!!
@PythonSimplified
@PythonSimplified 4 ай бұрын
Thank you so much!!! Super happy to help and spread some love in intense times like these!!! 😀😀😀
@alexandermuir8160
@alexandermuir8160 4 ай бұрын
You've still got it Mariya! Nice to see.
@iqbalhussain3074
@iqbalhussain3074 4 ай бұрын
yous teaching method is wonderfull
@thingTthing
@thingTthing 4 ай бұрын
I'm going to miss this live session 😭😭😭, I will not near a screen when it starts. I will have to watch the rerun!
@PythonSimplified
@PythonSimplified 4 ай бұрын
No worries!! You only missed the live chat, the session itself was pre-recorded so you can watch it anytime you'd like! 😉 I'll arrange a proper live stream very soon to catch up with everyone! (it's been a while!!!) 😀
@miuniversoyalgomas.gerardo3076
@miuniversoyalgomas.gerardo3076 4 ай бұрын
Wooooooow, amazing step by step explanation. It would be interesting for you, an engineer, to follow the topic of creating more AI. rather create artificial intelligences. I suggest you, if you can create your apps in Apis theme, how to create or get them. And finally this very beautiful engineer, greetings from Querétaro.
@PythonSimplified
@PythonSimplified 4 ай бұрын
Thank you so much for the lovely comment, dear! I don't have APIs on the menu anytime soon, but who knows? if I get enough requests - I'll give it a go! :)
@Fadedglory343
@Fadedglory343 2 ай бұрын
Before installing git-lfs you may need to run sudo apt update, for anyone following along.
@felipegaeteroman
@felipegaeteroman 4 ай бұрын
I was waiting for your next video! thank you Mariya
@glenneric1
@glenneric1 4 ай бұрын
cool! thanks for the Docker info
@PythonSimplified
@PythonSimplified 4 ай бұрын
Absolutely! Enjoy! 😀
@psktoure8824
@psktoure8824 4 ай бұрын
Favorite videos so far, honestly. But there is something bugging me with the downloading of the docker image at the end. Did it also come with 40GB diffusion model? If not, where did it come from ? I'm a bit confused there, I admit. And also was I the only one took by surprise by the new haircut ? Looks great.
@PythonSimplified
@PythonSimplified 4 ай бұрын
I believe it has to do with compression, but let me double-check it with Docker to give you a proper answer 🙂 I'm kind of curious myself... all this time, I just assumed that building an image also meant compressing it 🤷‍♀️ I'll get back to you shortly! And thank you so much for the lovely comment! Glad you liked the vid! 😀😃😃
@psktoure8824
@psktoure8824 4 ай бұрын
@@PythonSimplified Yeah, I don't have a lot of knowledge in it. But I will be amazed if such large files could be simply be stored in docker hub for free.
@versarious1292
@versarious1292 4 ай бұрын
This is great content. Ty for sharing
@PythonSimplified
@PythonSimplified 4 ай бұрын
Absolutely! Thanks your your comment! 🙂
@kspv2806
@kspv2806 3 ай бұрын
Awesome video
@ruznyahamed874
@ruznyahamed874 4 ай бұрын
Thanks for the great stuffs ❤ I like your desktop wallpaper it looks 3D. Where can I download it? 🙏
@mehdismaeili3743
@mehdismaeili3743 2 ай бұрын
Great as always .
@Tobs_
@Tobs_ 4 ай бұрын
great vid, thanks for sharing. Deep stuff!
@akshitkumar701
@akshitkumar701 4 ай бұрын
Magnificent project....
@PythonSimplified
@PythonSimplified 4 ай бұрын
Awesome! Glad you liked it! 😀😀😀
@TheGmr140
@TheGmr140 4 ай бұрын
Crazy cool, thanks for video 😊😊
@jonathanr4242
@jonathanr4242 4 ай бұрын
Fantastic video
@PythonSimplified
@PythonSimplified 4 ай бұрын
Thank you! :)
@raunopere
@raunopere 4 ай бұрын
If anyone else was bothered by the str.replace chaining, here is a regex example :D import re string = "12:12 .12" #example string string = re.sub(r"[ .:-]", "", string)
@PythonSimplified
@PythonSimplified 4 ай бұрын
I see your awesome example and I raise you with: my_string = "465568.:452 875-5" my_string = re.sub(r"[\D]", "", my_string) Additionally, a list comprehension is also an option: import string my_string = "".join([i for i in my_string if i not in string.punctuation + " "]) Thanks so much for your incredible tip!! 😀😀😀
@raunopere
@raunopere 4 ай бұрын
@@PythonSimplified Oh, I didn't even know about the string.punctuation. Cheers!
@dalesmith6935
@dalesmith6935 4 ай бұрын
Thank you angel for being so smart 🎉🎉🎉❤
@dalesmith6935
@dalesmith6935 4 ай бұрын
11/10
@pradyumnakubear8561
@pradyumnakubear8561 4 ай бұрын
Your tutorials are pretty cool, but a small query I do not have a GPU on my PC is it okay to run?
@PythonSimplified
@PythonSimplified 4 ай бұрын
Yup, you can run Stable Diffusion on CPU! I show you how to do it right before we switch to GPU processing 😉 Your app will be a bit slower, but it will work great even if you skip the GPU part of the tutorial 🙂
@lalit3969
@lalit3969 4 ай бұрын
Thank you 👍
@diwakar_tsn
@diwakar_tsn 4 ай бұрын
I missed this premiere because of my exam. 🥺🤧
@thunde7226
@thunde7226 4 ай бұрын
Great video Miraya......................:) bye
@wrestlingshorts
@wrestlingshorts 3 ай бұрын
Can we have a tensorflow or pytorch tutorial ❓❓
@Yachid
@Yachid 4 ай бұрын
ShoutOut fr~ @ MI!
@PythonSimplified
@PythonSimplified 4 ай бұрын
Shoutout back from North West of you! 😉
@mehdismaeili3743
@mehdismaeili3743 4 ай бұрын
Excellent .
@PythonSimplified
@PythonSimplified 4 ай бұрын
Thank you so much!! Glad you like it! 😀
@armantech5926
@armantech5926 4 ай бұрын
Thank you! Great!
@overglobe
@overglobe 4 ай бұрын
Awesome 🔥💯
@Good-w7k7o
@Good-w7k7o 3 ай бұрын
😭😭Thanks
@TechAdicto
@TechAdicto 2 ай бұрын
wuaoooo amazing thank you
@thecriticalsin6941
@thecriticalsin6941 4 ай бұрын
Loved all that
@ftmftm7627
@ftmftm7627 3 ай бұрын
You are amazing you know that right
@scrumtuous
@scrumtuous 4 ай бұрын
Love this!
@PythonSimplified
@PythonSimplified 4 ай бұрын
Thanks so much for tunning in, Darcy!!! 😀😀😀
@scrumtuous
@scrumtuous 4 ай бұрын
@@PythonSimplified Thank you for offering your couch for me the next time I visit BC!
@PythonSimplified
@PythonSimplified 4 ай бұрын
Just a couch? I have a guest room for you and a spare 4070Ti rig in case you'd like to create some content while on vacay! 😉 I suggest to hurry up though before the summer ends hahaha
@FortbloxNET
@FortbloxNET 3 ай бұрын
Yesterday i started to be a bit interested in pythong, lol. Now i watch this tutorial and i am extremely overwhelmed. What is WSL? Why do i need that? The video implies i already have WSL installed and know what it is. But i have no idea. So i am even less than a beginner? Video says Beginner-Friendly. lol.
@LouiseBrooksBob
@LouiseBrooksBob 3 ай бұрын
Could this be done on a Jetson Nano I wonder? It's the only thing I have with an Nvidia Cuda graphics card.
@PythonSimplified
@PythonSimplified 3 ай бұрын
It should work with Jetson Nano, but I'm not sure if you have enough storage space... maybe try using approach #1 when downloading Stable Diffusion - just copying the code from Hugging Face without cloning the model. If you need help with setting up containers on Jetson, here's the official guide: developer.nvidia.com/embedded/learn/tutorials/jetson-container Worst case scenario - just use your computer and load the model on CPU. It will take longer to generate images, but the rest of the task will take you the exact same amount of time. Best of luck, and I hope it helps! 😀😀😀
@LouiseBrooksBob
@LouiseBrooksBob 3 ай бұрын
@@PythonSimplified Thanks! A very useful and informative reply, thanks!
@guillermovc
@guillermovc 4 ай бұрын
Pure gold!!
@PythonSimplified
@PythonSimplified 4 ай бұрын
Thank you so much! Glad you liked it! 😀😀😀
@HassanEid-wo1ki
@HassanEid-wo1ki Ай бұрын
Can you use Docker a different way if when downloading the desktop app it says my CPU is incompatible?
@kiquenet
@kiquenet 2 ай бұрын
Visual Studio Code + devcontainers for Python ?
@DB-MH11
@DB-MH11 Ай бұрын
⭐️
@vikassaikumar2986
@vikassaikumar2986 Ай бұрын
How much storage does it take to run this whole file
@myJapanTV013
@myJapanTV013 3 ай бұрын
does docker desktop is available on mac?
@Secret4us
@Secret4us 3 ай бұрын
Can you try dkimpy and give a video on it, preferably on windows, thanks
@cplusplus-python
@cplusplus-python 3 ай бұрын
I'm using a Mac Pro M3. When using the GPU locally, I can utilize the MPS device (e.g., `tensor([2., 4., 6.], device='mps:0')`). However, in Docker, it returns FALSE. Do you have any suggestions for the `compose.yml` file?
@Icyyaimz
@Icyyaimz 3 ай бұрын
How can I learn the basics of python I’m just starting out
@Mark_Morad
@Mark_Morad 3 ай бұрын
So I have an app that I created, which has about 20 libraries and I am facing an issue where the app takes about 10 seconds to launch. I turned the app into an EXE using pyinstaller and each time the takes so much time to start. Do you know how can I fix this issue? Is it a problem with too much libraries or is it another problem? Thanks in advance.
@prabhatadvait6171
@prabhatadvait6171 Ай бұрын
hey ,I use linux so i have docker but docker desktop and docker init command is not working can you tell me what to do?
@ricardodeoliveiraalves339
@ricardodeoliveiraalves339 4 ай бұрын
I'm fall in love with you... intelligence and beauty in one person... that's a dream! BTW awesome app.
@PHOENIXMARIE-t7y
@PHOENIXMARIE-t7y 3 ай бұрын
I really need your help to expand my python codes, can you please 🙏?
@PakistanAnonymous
@PakistanAnonymous 4 ай бұрын
please video on this top. How to make virus with python coding . ☺️☺️☺️
@firiasu
@firiasu 4 ай бұрын
Why did the doctor refuse Docker? He’s already dealing with enough headaches without adding more!
@PythonSimplified
@PythonSimplified 4 ай бұрын
It's a necessary headache in our profession 😉
@alexabd10
@alexabd10 4 ай бұрын
❤️
@vigneshsuresh6003
@vigneshsuresh6003 4 ай бұрын
Is this a GenAI application
@PythonSimplified
@PythonSimplified 4 ай бұрын
Yup! It's a text to image generative AI application 😀😀😀
@PakistanAnonymous
@PakistanAnonymous 3 ай бұрын
Dear Mariya please upload on this python. How to make virus with python 🙂🙂🙂🙂
@whathuh6965
@whathuh6965 3 ай бұрын
This woman is my crush. She is so lovely.
@ataturkcu908
@ataturkcu908 3 ай бұрын
HOw lovely explainer can we marry pleasE?
Docker Simply Explained with a Machine Learning Project for Beginners
25:31
Learning with ChatGPT vs Codecademy and Pycharm vs VS Code
19:35
John Peralta, CFA
Рет қаралды 304
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 97 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 8 МЛН
Can AI Design Its Own Tools? Inside Baby AGI 2
42:43
AI Tinkerers
Рет қаралды 956
Convert GUI App to Real Program -  Python to exe to setup wizard
23:27
Python Simplified
Рет қаралды 545 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 248 М.
Cloud Computing with Vultr - The Ultimate Guide for Beginners
21:34
Python Simplified
Рет қаралды 23 М.
Free local AI Server at Home: Step-by-Step Guide
14:24
Lepczynski Tech Cloud Adventures
Рет қаралды 1,9 М.
I tried to build a ML Text to Image App with Stable Diffusion in 15 Minutes
18:44
Simple Machine Learning GUI App with Taipy and Tensorflow
30:52
Python Simplified
Рет қаралды 175 М.
Podman vs Docker in 2024: What's Really Different?
6:15
Better Stack
Рет қаралды 3,1 М.
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 388 М.
Docker Для Начинающих за 1 Час | Docker с Нуля
52:43
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 97 МЛН