Stable Diffusion GUI App with Docker and Flask - Step by Step Tutorial for Python Beginners

  Рет қаралды 24,458

Python Simplified

Python Simplified

Күн бұрын

Пікірлер: 98
@antor44
@antor44 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
​@@PythonSimplified It is an honor coming from the best online Python teacher.
@JohnyMatos-y8b
@JohnyMatos-y8b 5 ай бұрын
@@PythonSimplified You are awesome!
@captaincavemonkey
@captaincavemonkey 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
Thank you so much for the incredible comment! More videos like this are coming your way very soon! 😀😀😀
@shogun8-9
@shogun8-9 4 ай бұрын
Glad you're back, you're a good educator. Taking notes.
@saipavan77
@saipavan77 5 ай бұрын
One of the unique tech channel i have come across
@PythonSimplified
@PythonSimplified 5 ай бұрын
Thank you so much, dear! My mom always told me I'm special! 🤪
@saipavan77
@saipavan77 5 ай бұрын
@@PythonSimplified 🥰
@Fadedglory343
@Fadedglory343 3 ай бұрын
Before installing git-lfs you may need to run sudo apt update, for anyone following along.
@HoldMyBeerFam
@HoldMyBeerFam 5 ай бұрын
Can't wait! I'm working on classes in the mean time, see yall in a few hours
@PythonSimplified
@PythonSimplified 5 ай бұрын
WOW!!! Beer classes??? Sign me up!!!! 🤪
@amarug
@amarug 5 ай бұрын
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
@alexandermuir8160
@alexandermuir8160 5 ай бұрын
You've still got it Mariya! Nice to see.
@anderson21652
@anderson21652 5 ай бұрын
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 5 ай бұрын
Thank you so much!!! Super happy to help and spread some love in intense times like these!!! 😀😀😀
@mehdismaeili3743
@mehdismaeili3743 3 ай бұрын
Great as always .
@felipegaeteroman
@felipegaeteroman 5 ай бұрын
I was waiting for your next video! thank you Mariya
@iqbalhussain3074
@iqbalhussain3074 5 ай бұрын
yous teaching method is wonderfull
@kspv2806
@kspv2806 4 ай бұрын
Awesome video
@glenneric1
@glenneric1 5 ай бұрын
cool! thanks for the Docker info
@PythonSimplified
@PythonSimplified 5 ай бұрын
Absolutely! Enjoy! 😀
@versarious1292
@versarious1292 5 ай бұрын
This is great content. Ty for sharing
@PythonSimplified
@PythonSimplified 5 ай бұрын
Absolutely! Thanks your your comment! 🙂
@Good-w7k7o
@Good-w7k7o 4 ай бұрын
😭😭Thanks
@akshitkumar701
@akshitkumar701 5 ай бұрын
Magnificent project....
@PythonSimplified
@PythonSimplified 5 ай бұрын
Awesome! Glad you liked it! 😀😀😀
@TheGmr140
@TheGmr140 5 ай бұрын
Crazy cool, thanks for video 😊😊
@Tobs_
@Tobs_ 5 ай бұрын
great vid, thanks for sharing. Deep stuff!
@dalesmith6935
@dalesmith6935 5 ай бұрын
Thank you angel for being so smart 🎉🎉🎉❤
@dalesmith6935
@dalesmith6935 5 ай бұрын
11/10
@overglobe
@overglobe 5 ай бұрын
Awesome 🔥💯
@jonathanr4242
@jonathanr4242 5 ай бұрын
Fantastic video
@PythonSimplified
@PythonSimplified 5 ай бұрын
Thank you! :)
@guillermovc
@guillermovc 5 ай бұрын
Pure gold!!
@PythonSimplified
@PythonSimplified 5 ай бұрын
Thank you so much! Glad you liked it! 😀😀😀
@lalit3969
@lalit3969 5 ай бұрын
Thank you 👍
@miuniversoyalgomas.gerardo3076
@miuniversoyalgomas.gerardo3076 5 ай бұрын
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 5 ай бұрын
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! :)
@TechAdicto
@TechAdicto 3 ай бұрын
wuaoooo amazing thank you
@armantech5926
@armantech5926 5 ай бұрын
Thank you! Great!
@mehdismaeili3743
@mehdismaeili3743 5 ай бұрын
Excellent .
@PythonSimplified
@PythonSimplified 5 ай бұрын
Thank you so much!! Glad you like it! 😀
@scrumtuous
@scrumtuous 5 ай бұрын
Love this!
@PythonSimplified
@PythonSimplified 5 ай бұрын
Thanks so much for tunning in, Darcy!!! 😀😀😀
@scrumtuous
@scrumtuous 5 ай бұрын
@@PythonSimplified Thank you for offering your couch for me the next time I visit BC!
@PythonSimplified
@PythonSimplified 5 ай бұрын
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
@thecriticalsin6941
@thecriticalsin6941 5 ай бұрын
Loved all that
@thunde7226
@thunde7226 5 ай бұрын
Great video Miraya......................:) bye
@raunopere
@raunopere 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
@@PythonSimplified Oh, I didn't even know about the string.punctuation. Cheers!
@UTJK.
@UTJK. 24 күн бұрын
I love this girl.
@wrestlingshorts
@wrestlingshorts 4 ай бұрын
Can we have a tensorflow or pytorch tutorial ❓❓
@Yachid
@Yachid 5 ай бұрын
ShoutOut fr~ @ MI!
@PythonSimplified
@PythonSimplified 5 ай бұрын
Shoutout back from North West of you! 😉
@tonisee2
@tonisee2 19 күн бұрын
My daughter got upset about the last image... she wants a cat, but we cant have (s)he... ;-) Very good tutorial, btw! 🙂
@psktoure8824
@psktoure8824 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
@@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.
@thingTthing
@thingTthing 5 ай бұрын
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 5 ай бұрын
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!!!) 😀
@pradyumnakubear8561
@pradyumnakubear8561 5 ай бұрын
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 5 ай бұрын
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 🙂
@myJapanTV013
@myJapanTV013 5 ай бұрын
does docker desktop is available on mac?
@ftmftm7627
@ftmftm7627 4 ай бұрын
You are amazing you know that right
@LouiseBrooksBob
@LouiseBrooksBob 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
@@PythonSimplified Thanks! A very useful and informative reply, thanks!
@DB-MH11
@DB-MH11 2 ай бұрын
⭐️
@kiquenet
@kiquenet 3 ай бұрын
Visual Studio Code + devcontainers for Python ?
@vikassaikumar2986
@vikassaikumar2986 2 ай бұрын
How much storage does it take to run this whole file
@HassanEid-wo1ki
@HassanEid-wo1ki 3 ай бұрын
Can you use Docker a different way if when downloading the desktop app it says my CPU is incompatible?
@Secret4us
@Secret4us 5 ай бұрын
Can you try dkimpy and give a video on it, preferably on windows, thanks
@diwakar_tsn
@diwakar_tsn 5 ай бұрын
I missed this premiere because of my exam. 🥺🤧
@ruznyahamed874
@ruznyahamed874 5 ай бұрын
Thanks for the great stuffs ❤ I like your desktop wallpaper it looks 3D. Where can I download it? 🙏
@Mark_Morad
@Mark_Morad 4 ай бұрын
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.
@cplusplus-python
@cplusplus-python 5 ай бұрын
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?
@prabhatadvait6171
@prabhatadvait6171 16 күн бұрын
i don't have 21 gb of storage to download the stable diffusion model can you tell me any other way
@FortbloxNET
@FortbloxNET 4 ай бұрын
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.
@Icyyaimz
@Icyyaimz 4 ай бұрын
How can I learn the basics of python I’m just starting out
@vigneshsuresh6003
@vigneshsuresh6003 5 ай бұрын
Is this a GenAI application
@PythonSimplified
@PythonSimplified 5 ай бұрын
Yup! It's a text to image generative AI application 😀😀😀
@PHOENIXMARIE-t7y
@PHOENIXMARIE-t7y 4 ай бұрын
I really need your help to expand my python codes, can you please 🙏?
@alexabd10
@alexabd10 5 ай бұрын
❤️
@ricardodeoliveiraalves339
@ricardodeoliveiraalves339 5 ай бұрын
I'm fall in love with you... intelligence and beauty in one person... that's a dream! BTW awesome app.
@firiasu
@firiasu 5 ай бұрын
Why did the doctor refuse Docker? He’s already dealing with enough headaches without adding more!
@PythonSimplified
@PythonSimplified 5 ай бұрын
It's a necessary headache in our profession 😉
@PakistanAnonymous
@PakistanAnonymous 5 ай бұрын
please video on this top. How to make virus with python coding . ☺️☺️☺️
@PakistanAnonymous
@PakistanAnonymous 5 ай бұрын
Dear Mariya please upload on this python. How to make virus with python 🙂🙂🙂🙂
@whathuh6965
@whathuh6965 4 ай бұрын
This woman is my crush. She is so lovely.
@ataturkcu908
@ataturkcu908 5 ай бұрын
HOw lovely explainer can we marry pleasE?
Docker Simply Explained with a Machine Learning Project for Beginners
25:31
OOP with Pygame - Object Oriented Programming Exercise
18:43
Python Simplified
Рет қаралды 26 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 789 М.
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 1,5 МЛН
Self-Hosted Postgres Backups | PG Back Web | Docker & MinIO
14:35
Python Polars - Fastest Data Science Library!
20:54
Python Simplified
Рет қаралды 17 М.
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 1 МЛН
Coding Adventure: Rendering Text
1:10:54
Sebastian Lague
Рет қаралды 788 М.
Python AI Web Scraper Tutorial - Use AI To Scrape ANYTHING
45:36
Tech With Tim
Рет қаралды 209 М.
You've been using AI Wrong
30:58
NetworkChuck
Рет қаралды 578 М.
Much Faster Pandas with cuDF GPU Processing - CPU vs GPU Speed Benchmarks
19:57
Cloud Computing Simply Explained - The Ultimate Guide for Beginners
21:34
Python Simplified
Рет қаралды 23 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН