I tried to build a REACT STABLE DIFFUSION App in 15 minutes

  Рет қаралды 72,615

Nicholas Renotte

Nicholas Renotte

Күн бұрын

Пікірлер: 114
@Jaybaas
@Jaybaas 2 жыл бұрын
Please do more React/JavaScript Machine learning projects. Combining it with a Python back-end was also really cool. 👏🏾🔥
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Definitely, I'm bringing them back! Glad you liked it @Jabulani!
@pitter6636
@pitter6636 2 жыл бұрын
Nice video. I definitely need to step up from python and learn typescript. This kind of videos with fastapi as backend and react as front are super useful and are near the state of the art on what you see in the private sector
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
They definitely help take it to the next level. I try to do a mix for work, but for front ends I build pretty much everything with the MERN stack. All my ML backends are in Python though!
@pitter6636
@pitter6636 2 жыл бұрын
@@NicholasRenotte Is there any reason to choose Mongo over postgres?
@FanZy0127
@FanZy0127 2 жыл бұрын
Nick, you're so motivating ! I took example of the VizDoom video you recorded and also of some others of your videos and some chess AI videos to create a project to get my AI dev diploma (that I know I passed a week ago !!!!) ... so I really wanted to thank you for all the great content you're providing ^^ Keep going, you're a real blessing ! Best regards from France
@SanjinDedic
@SanjinDedic Жыл бұрын
As someone who has been teaching coding for 10 years I really admire your work, keep it up!!
@coinhawk
@coinhawk Жыл бұрын
Keep that energy... 10x skills... Great audio/editing... 💯
@richardrgb6086
@richardrgb6086 Жыл бұрын
I am sorry, but where i can get token for stable-diffusion ?
@muzammilali7904
@muzammilali7904 2 жыл бұрын
Can you create a tutorial "to make a system that run time measure the sizes of human body parts as body parts segmentation and then output size chart of human body"?
@aimanifest
@aimanifest 2 жыл бұрын
Spectacular my friend🎉
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Cheers @AI Manifest!
@picklenickil
@picklenickil 2 жыл бұрын
What to do if we dont have cuda and wanna run it on cpu ofc besides getting GPU , will device="cpu" work? edit: it kinda worked it asked me to remove the torch_dytpe arg completely but when I throw a prompt it says: Exception in ASGI application .....RuntimeError: expected scalar type BFloat16 but found Float
@quandarious_gooch
@quandarious_gooch 2 жыл бұрын
did you ever fix this? running into the same issue... @NicholasRenotte
@picklenickil
@picklenickil 2 жыл бұрын
Nah mate, ended up using a GPU.
@131mohammadubaida6
@131mohammadubaida6 Жыл бұрын
hey I do have a error and I cannot fix it can you help me out? E1) vae\diffusion_pytorch_model.safetensors not found E2) AssertionError("Torch not compiled with CUDA enabled") @@picklenickil
@clippy5394
@clippy5394 Жыл бұрын
how do you deploy the production backend for a web app like this? is google colab good?
@radiationcreation8394
@radiationcreation8394 Жыл бұрын
nice video brother more like this we want on Reactjs and Nextjs
@xt3708
@xt3708 2 жыл бұрын
thank you for the amazing walkthrough. Learned so much. I'm trying to work this out on a Mac with M1, so many other challenges. Can you make a followup to this for device ="mps" ? Also I don't see a Say Thanks button for your channel ;)
@davidzhang4825
@davidzhang4825 2 жыл бұрын
Awesome! One question, when you import the pretrained model i.e. StableDiffusionPipeline.from_pretrained(...), does the code download the whole pre-trained model to your PC ?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Sure does!
@ಥ_ಥ-ಞ9ಞ
@ಥ_ಥ-ಞ9ಞ Жыл бұрын
Great video! Do the generate PNGs have the metadata info like seeds etc???
@raizel-sama9048
@raizel-sama9048 Жыл бұрын
did he use flask in the python file to create an api or is it simple. i am a total beginner it would be really big help if someone can guide me
@smerlinger
@smerlinger Жыл бұрын
Doesn't stable diffusion have an API you can use?
@ceciliacanteros3846
@ceciliacanteros3846 Жыл бұрын
this was awesome!!! thank you!!
@TaskMask56
@TaskMask56 Жыл бұрын
It says NSFW content detected with anything i write like 'a cat' etc how to fix this?
@ankitporwal6317
@ankitporwal6317 Жыл бұрын
how can i run this project on my pc
@srirambharadwaj1937
@srirambharadwaj1937 Жыл бұрын
can you please tell us where you imported StableDiffusionPipeline from?
@FlutterStartups
@FlutterStartups 9 ай бұрын
This is an example of why AI replacing us software developer isn't actually too bad. The amount of stress but just watching this video was just too much
@shadowdemonaer
@shadowdemonaer Жыл бұрын
Is there any way to do this without an API key? I was thinking it'd be cool to make a checkpoint in my style (so people can know it is 100% ethical to use) and then make a google play app and run ads in it. I can't afford an API key because I don't have money and I'd need to do a lot of extensive testing, which would rack up quite a bill if I had to use an AI key.
@nadred5396
@nadred5396 11 ай бұрын
Sorry I dint' watch the whole video but are you running stable diffusion through an API, or your own machine? I am looking to do something similar but I want to run a specific model? Do I need to run it on a server like AWS?
@meanamin2463
@meanamin2463 2 жыл бұрын
Hello there , amazing tutorial , but i have a question that i am stuck with , what is the Auth_Token in the api file , is it python auth token for the enviroment or what ? I have been away from Python for a while now , so i am confused i would appreciat your hlep , cheers
@muffinmuncher
@muffinmuncher 2 жыл бұрын
its his api token from huggingface
@EternalAI-v9b
@EternalAI-v9b 3 ай бұрын
Just out of curioisity why did you choose the 1.4? Last year when this video came up, the 1.5 was already out no? Althogh i must say you were lucky because if you choose 1.5, well it is not longer available, runway removed it from hg 😞
@FlowerNewton
@FlowerNewton 2 жыл бұрын
This video was godsent. Thanks !
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Stoked you liked it Shaun!
@elizabethfeldman2999
@elizabethfeldman2999 2 жыл бұрын
how do you get this to run locally? The website simply stalls when I type in a prompt. Is it because I need my own auth token?
@elizabethfeldman2999
@elizabethfeldman2999 2 жыл бұрын
New to this, so help appreciate :)
@YOUPICKSoNET
@YOUPICKSoNET 2 жыл бұрын
I have the same problem rn...did you figure it out?
@rajivn3707
@rajivn3707 2 жыл бұрын
@@elizabethfeldman2999 So auth_token is to access an API called Hugging face you can just signup for it and create a token in your settings> tokens> create a new token with name auth_token and it would generate a new token. Now you can copy it and run your program.
@manoelpanev0074
@manoelpanev0074 Жыл бұрын
@@rajivn3707 So you make the token to read or write?
@g.s.3389
@g.s.3389 2 жыл бұрын
can you make a video with yolo 7?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
There's a yolo 7 now? Will take a look!
@DodaGarcia
@DodaGarcia 2 жыл бұрын
There doesn't seem to be much of a point in making the prompt variable reactive in this case though, right? Nothing is done with it until the generate button is clicked.
@ronakttawde
@ronakttawde 2 жыл бұрын
I am the winner 😎😎
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Wait...did you actually?! If so CONGRATS! Ronak!
@ronakttawde
@ronakttawde 2 жыл бұрын
See the log and decide whether I am the winner or not
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
There’s logs for Amazon gift cards?😅 lol I need to go check this out.
@itsme-gc7dx
@itsme-gc7dx Жыл бұрын
Is there any way to build background diffusion based on your own image ?
@kamikaze9271
@kamikaze9271 Жыл бұрын
Would it be feasible to do this on an EC2 CPU instance?
@pratyushpattnaik2960
@pratyushpattnaik2960 2 жыл бұрын
can you try including GCP and docker containerization with ur models??
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Will def be taking a look at docker soon!
@pratyushpattnaik2960
@pratyushpattnaik2960 2 жыл бұрын
@@NicholasRenotte thanks man!
@ansrmn9390
@ansrmn9390 10 ай бұрын
Hi, I want to change the model. Where do I fix it? Can you please tell me?
@PrabhuKiranKonda
@PrabhuKiranKonda 2 жыл бұрын
Nicholas, i want to build something similar, i built a Image Classification API using FastAPI and it's working really great when using swagger UI and I want to make a web app using react. Can you make a tutorial on how to do that? I want users to upload the image.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
You got it!!
@horu8027
@horu8027 2 жыл бұрын
can you build an extension to autocomplete code in VSC like tabnine? your channel is pure gold 👏. thanks for sharing your knowledge
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Haven't done it before but can definitely take a look!
@hieule4882
@hieule4882 7 ай бұрын
How can i add lora in this project and using it on website
@ndumisomhlongo1125
@ndumisomhlongo1125 2 жыл бұрын
yo Nick did you take the write or read auth key
@koo4838
@koo4838 Жыл бұрын
hi there, it's auth_token is stability sdk api key?
@oyewalephilip9113
@oyewalephilip9113 Жыл бұрын
Please how can I host this on cloud and have it as a website?
@0lange
@0lange 2 жыл бұрын
If would be great if you could make a video on on a python/javascript project using the new dalle 2 api
@Fedelios1
@Fedelios1 Жыл бұрын
Error with CUDA here, and i have a GPU. Cant install the enviroment properly
@natnaelfikre1587
@natnaelfikre1587 Жыл бұрын
can you make a video on how to make a stable diffusion api in node js and upload it online ,create a website for it ,let users create there own image and download it.
@bob-uchiha
@bob-uchiha 2 жыл бұрын
Hey Nick can you do that reinforcement learning for trading again. Getting so many errors due to new version of packages
@Rezarak
@Rezarak Жыл бұрын
Could I also do this in Angular ?
@AsianDrip-z5j
@AsianDrip-z5j Жыл бұрын
what kind of virtual environment is he using can anyone tell me
@kevinalexandercuellarochoa6773
@kevinalexandercuellarochoa6773 Жыл бұрын
where i get the auth token?
@ehisom
@ehisom Жыл бұрын
Hi, please anyone, what is suppose to be inside the info.txt
@nidalidais9999
@nidalidais9999 2 жыл бұрын
Very nice job 👍🙂
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Thanks a mil @nidal!
@yolow8126
@yolow8126 2 жыл бұрын
How do you even do this without planning
@jairusdelosreyes-w4k
@jairusdelosreyes-w4k Жыл бұрын
Will this run on a 4gb GPU?
@Arvolve
@Arvolve Жыл бұрын
Fantastic content!
@faramarzzrn
@faramarzzrn 2 жыл бұрын
@nicholas do you have a course that learns from zero?
@faramarzzrn
@faramarzzrn 2 жыл бұрын
deep learning and machine learning
@rohitashwapratapsingh142
@rohitashwapratapsingh142 2 жыл бұрын
Hello, I'm new to programming I want to make a website from this API Will you make a video to tell full process🙂 I'll give my everything to it Edit- I'm pro in making wordpress websites, so can I insert this API someway in it... but how to make my own API?
@chaitanyabagwe582
@chaitanyabagwe582 Жыл бұрын
Bro,I'm getting a RuntimeError "RuntimeError: Unable to find a valid cuDNN algorithm to run convolution"
@swamikannan943
@swamikannan943 2 жыл бұрын
That looks more Red ahemmm at 33:36 than Merce...ahem 🤣🤣, SD does not follow F1
@aiforeveryone2941
@aiforeveryone2941 2 жыл бұрын
firing everyone
@lahatcisse1262
@lahatcisse1262 2 жыл бұрын
I swear you the best
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
🙏🙏🙏
@gabscastrobsb
@gabscastrobsb 2 жыл бұрын
That's gold!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
🙏 thanks a mil Gabriel!
@athencoder
@athencoder 2 жыл бұрын
Awesome ❤️
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Cheers @AthenCoder!
@reubenthomas1033
@reubenthomas1033 2 жыл бұрын
Awesome! More of these full stack end2end vids!
@romanemul1
@romanemul1 2 жыл бұрын
Thank you
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Anytime, stoked you checked it out!
@johnzhu6785
@johnzhu6785 10 ай бұрын
my mac M1 doesn't have cuda
@haskelllisp5998
@haskelllisp5998 Жыл бұрын
cool stuff
@jennyspark9060
@jennyspark9060 5 ай бұрын
13:23
@ashleysami1640
@ashleysami1640 2 жыл бұрын
Damn missed out on the gift card 😅
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Awww shucks Ash 😉
@GSds657
@GSds657 Жыл бұрын
very nice
@maxxflyer
@maxxflyer Жыл бұрын
why python?!?
@jabransaeed6155
@jabransaeed6155 2 жыл бұрын
he's kind of a noob at react. but thats okay. pretty good at python
@FunCodingwithRahul
@FunCodingwithRahul 2 жыл бұрын
How cool....
@jjanx4820
@jjanx4820 2 жыл бұрын
drama is so unnecessary we know that you already made or have some sort of reference for the code
@Jaybaas
@Jaybaas 2 жыл бұрын
👏🏾🔥
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
🙏🙏🙏
@geekwithdasause
@geekwithdasause 2 жыл бұрын
Second!!!
@geekwithdasause
@geekwithdasause 2 жыл бұрын
Third!!!
@geekwithdasause
@geekwithdasause 2 жыл бұрын
First!!!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Daymn, first, second and third! Cheers @Ayomide!
@Kev4ik
@Kev4ik Жыл бұрын
I'm getting the message "{"detail":[{"loc":["query","prompt"],"msg":"field required","type":"value_error.missing"}]}" when accessing the following: "GET / HTTP/1.1" 422 Unprocessable Entity what should I do to fix it?
@chunman6735
@chunman6735 Жыл бұрын
type /docs after your ip link
@linkvideos.charles3563
@linkvideos.charles3563 2 жыл бұрын
Hi Nick please I need your help in research i am working on using the prophet model- how can I contact you its urgent
@EyesGape
@EyesGape Жыл бұрын
I Have show this issue Can Guide me Exception has occurred: TypeError getattr(): attribute name must be string File "C:\Users\User\Downloads\StableDiffusionApp-main\StableDiffusionApp-main\app.py", line 25, in pipe = StableDiffusionPipeline.from_pretrained(modelid, revision="fp16", torch_dtype=torch.float16, use_auth_token=auth_token) TypeError: getattr(): attribute name must be string
@131mohammadubaida6
@131mohammadubaida6 Жыл бұрын
While running there is always an error unet\diffusion_pytorch_model.safetensors not found help me how can I solve it @NicholasRenotte
@zerox9646
@zerox9646 10 ай бұрын
funny man
Building a Neural Network with PyTorch in 15 Minutes | Coding Challenge
20:34
Diffusion models from scratch in PyTorch
30:54
DeepFindr
Рет қаралды 267 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Building the Gradient Descent Algorithm in 15 Minutes | Coding Challenge
22:29
I tried to build a ML Text to Image App with Stable Diffusion in 15 Minutes
18:44
TUGAS MENYIMAK PERTEMUAN 14
1:28:44
Aurora Kayla Sakinahsyah
Рет қаралды 42
Building a Machine Learning API in 15 Minutes | Coding Challenge
20:04
Nicholas Renotte
Рет қаралды 134 М.
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 1 МЛН
Let's build GPT: from scratch, in code, spelled out.
1:56:20
Andrej Karpathy
Рет қаралды 5 МЛН
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 79 М.
Stable Diffusion - What, Why, How?
54:08
Edan Meyer
Рет қаралды 233 М.
Tugas 14
57:33
Fadly maulana iksan
Рет қаралды 17
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН