Тёмный
Leslie Wubbel
Leslie Wubbel
Leslie Wubbel
Подписаться
Creating some test inputs for the flask app
21:47
10 месяцев назад
Add the machine learning module to the flask app
13:28
10 месяцев назад
Monte Carlo Simulation
17:16
10 месяцев назад
Calling Alpha Vantage API
13:45
10 месяцев назад
Deploying Flask App Via Google Cloud CLI
11:48
10 месяцев назад
Setting Up Flask app for Deployment
20:12
10 месяцев назад
How to Use  Github & Git
14:56
10 месяцев назад
Workshop Overview of Rapid Prototype Part 1
4:50
10 месяцев назад
How to find customers! Customer Discovery
34:36
10 месяцев назад
Deploy your Flask app on Google Cloud Platform
17:51
11 месяцев назад
How to install RedwoodJS
14:26
2 года назад
Developer Blog #1 Building a Front-end
21:46
2 года назад
Jubilant-Market Insurance & DeFi
4:10
2 года назад
HackFS 2021 Submission
3:59
3 года назад
Looking for a teammate for HackFS!!
6:45
3 года назад
What is a DICOM file? Lecture 001
21:11
3 года назад
Python + Glitch Art - Glitch_this 001
13:39
3 года назад
Комментарии
@ckdixon3629
@ckdixon3629 19 дней назад
Just what I needed, thanks boss!
@CultureofSpeech
@CultureofSpeech Месяц назад
Bravo 👏👏 Lit 🌠 Impressive 👌 Gratitude 🥳 for your satisfactory Work 💪🚀🌱
@josemoraila
@josemoraila Месяц назад
ERROR: (gcloud.run.deploy) Revision 'project-00001-drw' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
@lesliewubbel9157
@lesliewubbel9157 22 дня назад
can you print out error logs they should tell you what is wrong?
@sully-miller-o6l
@sully-miller-o6l Месяц назад
Thank you for that amazing video, I got this error "Expecting calling IAm" i checked the role of my account and it is owner where do think is the problem?
@lesliewubbel9157
@lesliewubbel9157 Месяц назад
no problem! I will be honest I don't know I would just double check the files again and the blog post. its hard debug the problem in the youtube comments
@Eddyyc
@Eddyyc Месяц назад
hello, I am having such a bad time dealing with gas, is there a way to reach out to you by any chance?
@ianvldz
@ianvldz Месяц назад
Bro i had the same problem. Thank you for this video!
@mayurpillai3181
@mayurpillai3181 2 месяца назад
oh my god thanks Leslie i cant thank you enough for this tutorial. I'm actually a new towards all this coding stuff & i was stuck in this deploying things, your video only helped me perfectly without any error of deploying in this RU-vid which contains these 1000 types of videos. Thank you so much & hope you have a wonderful year ahead
@lesliewubbel9157
@lesliewubbel9157 2 месяца назад
Thank you for the kind hearted message I hope you find success in your journey.
@guifofou829
@guifofou829 2 месяца назад
Thanks for the video 🙏
@GianCampos
@GianCampos 3 месяца назад
Excellent tutorial. Followed every step and saved me a ton of time. Thank you!
@lesliewubbel9157
@lesliewubbel9157 3 месяца назад
Thanks! Please checkout my blog I would love feedback!
@GianCampos
@GianCampos 3 месяца назад
@@lesliewubbel9157 I liked your website. A recommendation would be to get the current user’s device theme and set the background color based on that
@lesliewubbel9157
@lesliewubbel9157 2 месяца назад
Thanks I will have to look into that
@eromoseleedeko3839
@eromoseleedeko3839 3 месяца назад
thanks for this could you also show how to make the app point a domain
@lesliewubbel9157
@lesliewubbel9157 Месяц назад
you mean change the domain name in url?
@lol14132
@lol14132 3 месяца назад
THANK YOU BROSKI AWESOME TUTORIAL SUPER HELPFUL
@lesliewubbel9157
@lesliewubbel9157 3 месяца назад
No problem
@GameLog-nc3hw
@GameLog-nc3hw 3 месяца назад
Very good one, simple and clean. Thank you
@Jamaalmamu
@Jamaalmamu 3 месяца назад
At 6:18 Someone passed by the door and that looks creepy, lol.
@lesliewubbel9157
@lesliewubbel9157 3 месяца назад
That is my wife lmao
@pemudatersesat7121
@pemudatersesat7121 3 месяца назад
bro i wanna ask, when i deploy it on app engine got error 502 bad gateway, any tips?
@lesliewubbel9157
@lesliewubbel9157 3 месяца назад
It could be a number of reasons you could check the logs first as a clue
@kashishvarshney2225
@kashishvarshney2225 3 месяца назад
I am creating chatbot and that will be used by 1000 users at the same time Will flask socket io worth for it
@lesliewubbel9157
@lesliewubbel9157 3 месяца назад
Truthfully I don't know, I have not been in that situation, but I would look into microservices, docker, and proxy engine nginx.org/en/ to handle high server loads it should work but there are ways to load balance. I would google load balancing
@thePufi
@thePufi 4 месяца назад
Do you know what could cause this error? Revision ... is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
Could dump the logs here or in a paste bin? Others are getting thus error I havnt experience it but it would be a great help
@planetscore
@planetscore 2 месяца назад
Yes, this message you might get if your Dokerfile has a syntax error. In my case I write RUN exexc gunicorn instead of RUN excec and produced exactly this error message. Correcting it resolved the issue immediately.
@lesliewubbel9157
@lesliewubbel9157 Месяц назад
@@planetscore Thanks for info!
@vaishnavikulkarni663
@vaishnavikulkarni663 4 месяца назад
i am getting error at very last step of uploading on checking logs it says ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none) ERROR: No matching distribution found for pywin32==306
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
could you print out your requirements.txt for me here?
@vaishnavikulkarni663
@vaishnavikulkarni663 4 месяца назад
@@lesliewubbel9157 yeah! beautifulsoup4==4.12.2 blinker==1.7.0 certifi==2023.7.22 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comtypes==1.2.0 dnspython==2.6.1 flask==3.0.0 Flask-PyMongo==2.3.0 idna==3.4 importlib-metadata==6.8.0 itsdangerous==2.1.2 Jinja2==3.1.2 MarkupSafe==2.1.3 MouseInfo==0.1.3 Pillow==10.1.0 PyAutoGUI==0.9.54 PyGetWindow==0.0.9 pyjokes==0.6.0 pymongo==4.7.2 PyMsgBox==1.0.9 pyperclip==1.8.2 pypiwin32==223 PyRect==0.2.0 PyScreeze==0.1.30 python-dotenv==1.0.1 pyttsx3==2.90 pytweening==1.0.7 pywhatkit==5.4 pywin32==306; platform_system == "Windows" requests==2.31.0 soupsieve==2.5 SpeechRecognition==3.10.0 urllib3==2.0.7 werkzeug==3.0.1 wikipedia==1.4.0 zipp==3.17.0 When I was searching for solution on stackoverflow, GPT etc they told me to comment out the line pywin32==306 or write pywin32==306; platform_system == "Windows" since it is not compatible with linux (thats what gpt said). I did all of that but still nothing worked.
@vaishnavikulkarni663
@vaishnavikulkarni663 4 месяца назад
@@lesliewubbel9157 Yeah beautifulsoup4==4.12.2 blinker==1.7.0 certifi==2023.7.22 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comtypes==1.2.0 dnspython==2.6.1 flask==3.0.0 Flask-PyMongo==2.3.0 idna==3.4 importlib-metadata==6.8.0 itsdangerous==2.1.2 Jinja2==3.1.2 MarkupSafe==2.1.3 MouseInfo==0.1.3 Pillow==10.1.0 PyAutoGUI==0.9.54 PyGetWindow==0.0.9 pyjokes==0.6.0 pymongo==4.7.2 PyMsgBox==1.0.9 pyperclip==1.8.2 pypiwin32==223 PyRect==0.2.0 PyScreeze==0.1.30 python-dotenv==1.0.1 pyttsx3==2.90 pytweening==1.0.7 pywhatkit==5.4 pywin32==306; platform_system == "Windows" requests==2.31.0 soupsieve==2.5 SpeechRecognition==3.10.0 urllib3==2.0.7 werkzeug==3.0.1 wikipedia==1.4.0 zipp==3.17.0 when I searched the error on stackoverflow and gpt they said it might be because pywin is not compatible with linux and mac. and server we're using from GCP is linux hence specify it in .txt so i did that. Also i tried to comment out that line but nothing worked.
@vaishnavikulkarni663
@vaishnavikulkarni663 4 месяца назад
@@lesliewubbel9157 i did reply but that comment is disapearing idk how!!
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
@vaishnavikulkarni663 you have to refresh youtube I think youtube algo is checking comments I had the same issue
@joshygaminghub7428
@joshygaminghub7428 4 месяца назад
you know that getting a 60% keyboard and use it at work is a pain in the ass right?
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
I learned how to use it over time it's ok
@Qurqud
@Qurqud 4 месяца назад
may I ask what extension you're using for auto completing?
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
Sure np, in terminal that is default behavior and in vscode I use github copilot. Als the code is from the blog post linked in the description
@mstfssk
@mstfssk 4 месяца назад
Thank you Leslie, this is very clear for everyone.
@gabutaja8523
@gabutaja8523 4 месяца назад
ive done all the process, but when i open the Service URL that given by the gcloud. the URL says service unavailable. any idea on this problem ? thank you!
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
Check the logs? In Google cloud dashboard?
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
What does the network tab say on the browser?
@artistheanswer
@artistheanswer 4 месяца назад
Many thanks mate. The best video I could find related to deploying a Flask app on Google Cloud!
@martinmalic5411
@martinmalic5411 4 месяца назад
Hi Leslie, Many thanks for your video. I'm trying to deploy a custom built flask app which also relies on html files inside the templates folder. After following your steps I'm getting a service unavailable error. It works perfectly when I run it on localhost, any ideas how to troubleshoot? I can't see errors in the log
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
Let me get back to you tomorrow
@martinmalic5411
@martinmalic5411 4 месяца назад
@@lesliewubbel9157 thank you for the update
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
​@@martinmalic5411 Hi martin sorry for that late response I have been super busy lately I am getting my MBA right now its best to just set up a zoom call? lesliemwubbel.com/11-consulting/ 1. Best guess without seeing your code is that the template files were not copied from your local machine to the cloud instance when you deploy I would double check the the dockerignore file to see if html files are being ignore on deployment SSH into the Cloud instance to 2. Then I would check your endpoint @app.route('/upload', methods=['POST']) if your @app.route is not set to @app.route('/' ) that is your homepage on URL So I need to see code? is the template render function being called on the endpoint? Try to use paste bin? to share code with me Images of folder structure helps too Lot of different things could trigger this? - Check Server Logs - Verify Dependencies - File Permissions - Web Server Configuration - Application Errors - Network Configuration -Resource Limits
@martinmalic5411
@martinmalic5411 4 месяца назад
@@lesliewubbel9157 hi Leslie thanks for getting back. I've managed to get my app working by uploading it to pythonanywhere instead!
@martinmalic5411
@martinmalic5411 4 месяца назад
@@lesliewubbel9157 Leslie, many thanks for your response and congrats on your MBA. At the moment I have managed to host the web-app on pythonanywhere which seems to do the job just fine for my needs. Let's not waste your time at the moment, I appreciate you taking the time however. Perhaps in the future. Martin (I think I responded already, but I don't see it so here's another try)
@Jakupdam
@Jakupdam 4 месяца назад
Bro, you are awesome! Nice walkthrough with good explanations! Thank you!
@lesliewubbel9157
@lesliewubbel9157 4 месяца назад
Thank!
@jz319
@jz319 5 месяцев назад
Hi, how different would it be if we want to deploy the frontend to GCP too ??
@lesliewubbel9157
@lesliewubbel9157 5 месяцев назад
It shouldn't be too different just managing DNS and domain name becomes a waste of time that is why I perfer using Netlify or vercel
@lesliewubbel9157
@lesliewubbel9157 5 месяцев назад
What is your frontend?
@jz319
@jz319 5 месяцев назад
just react front end , wanted to learn more on how to do both front end and backend into gcp
@lesliewubbel9157
@lesliewubbel9157 5 месяцев назад
@@jz319 I think I can figure it out for react front-end, how about a video?
@jz319
@jz319 5 месяцев назад
That willl be great !! THANK YOU !!
@DruidpathXo2
@DruidpathXo2 5 месяцев назад
I have another quesiton, could you upload a tutorial on deploying a flask application that utilises flask socket IO, or do you know of any good resources for this? Thank you
@lesliewubbel9157
@lesliewubbel9157 5 месяцев назад
Sure I can make a video on that
@DruidpathXo2
@DruidpathXo2 5 месяцев назад
@@lesliewubbel9157 thank you so much
@DruidpathXo2
@DruidpathXo2 5 месяцев назад
I have a quick question when we deploy it, is the Google platform running the project on a linux server?
@DruidpathXo2
@DruidpathXo2 5 месяцев назад
It is indeed, I answered my own question so it's all good haha
@lesliewubbel9157
@lesliewubbel9157 5 месяцев назад
yes!
@besufekadnegussie983
@besufekadnegussie983 6 месяцев назад
Thank you so much! That is all I can say.
@lesliewubbel9157
@lesliewubbel9157 6 месяцев назад
No problem
@andrewchou1720
@andrewchou1720 7 месяцев назад
I got some error while following the step to deploy the url. And when checking log, it gives me this following error: "Default STARTUP TCP probe failed 1 time consecutively for container "project-name" on port 8080. The instance was not started." Any help on this please? :)
@lesliewubbel9157
@lesliewubbel9157 7 месяцев назад
Can you double check the docker file? the last line should be CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 app:app also check check the yaml file was that create it should match runtime: python39 entrypoint: gunicorn -b :$PORT app:app if not I will have go through it again and make sure its all correct on my tutorial
@andrewchou1720
@andrewchou1720 7 месяцев назад
@@lesliewubbel9157 Actually, I think I got it to work already. For some reason my docker does not recognize the environment variable (PORT) and also some of my api key (being used in the backend file that I had). So I went ahead and manually add the key (secret key) on the google cloud directly, and it works. Thanks for such a swift response. Appreciated!
@lesliewubbel9157
@lesliewubbel9157 7 месяцев назад
@andrewchou1720 was it .environment variable I think it's missing from my blog post if that is true
@PaulThach1
@PaulThach1 7 месяцев назад
I got the same issue. "...The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable." I have confirm: app.yaml -> entrypoint: gunicorn -b :$PORT app:app Dockerfile -> CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 app:app I tried changing .env to PORT=5000, but it still saying, PORT=8080 on gcloud deploy...
@lesliewubbel9157
@lesliewubbel9157 5 месяцев назад
@PaulThach1 did you get to work? I can come Back and take look
@anushka.narsima
@anushka.narsima 7 месяцев назад
What about when I want to edit the .env? How do I do that? Do I have to go through the whole bruild process again?
@lesliewubbel9157
@lesliewubbel9157 7 месяцев назад
Option 1. You have to ssh into the cloud run service container there should be some information in the google cloud dashboard heres a link I hope that helps. Then you edit the .env file but would have to restart the application for it to pick the .env file changes cloud.google.com/compute/docs/ssh-in-browser Option 2. is redeployment which is the more realistic thing DevOps does when we have to connect entire other software to your platform or new databases you will need to redeploy and do the whole build process again anyways. This is the unfortunate reality of the DevOps, they do build custom tools you build off the self to manage and automate .env files but this really out of scope for this video locally you can just edit the .env file and see the changes update locally to test stuff out first however I know you are talking about the deployment specifically here
@inhibited44
@inhibited44 7 месяцев назад
if a dcm file has property RescaleIntercept= 0, does that mean their will be no HU plot? your program works for me now and it has a RescaleIntercept= -1024. My own ct scan has a RescaleIntercept = 0, so it seems I will get no HU plot. Thanks for the help
@inhibited44
@inhibited44 7 месяцев назад
Once those are read in as .dcm files, are they converted to .pny (numpy) files by converting them using np.array()?
@lesliewubbel9157
@lesliewubbel9157 7 месяцев назад
yes because DICOM files are 3D images and their is information for (x,y,z) you can check the code here pastebin.com/MXkpnAmq or ask chatgpt for help
@inhibited44
@inhibited44 7 месяцев назад
@@lesliewubbel9157 I will check that out. Thanks
@inhibited44
@inhibited44 7 месяцев назад
Weird error. I extracted both PAL001 and PAL034 to the folder. The program only sees PAL001 - PAL005. Same with PAL034. Len(patient) = 5
@lesliewubbel9157
@lesliewubbel9157 7 месяцев назад
What is your code? Can you share it? In paste bin
@inhibited44
@inhibited44 7 месяцев назад
@@lesliewubbel9157 my mistake I pasted wrong code from that programmer's kaggle site. Thanks it works, but I have my own ct scans and I get an error "AttributeError: 'FileDataset' object has no attribute 'ImagePositionPatient'. Have to look for that issue
@inhibited44
@inhibited44 7 месяцев назад
I inserted slices = [dcmread(path + '/' + s) for s in os.listdir(path)] print("after slices") if slices[0].ImagePositionPatient[2] not in slices[0]: print("not in slices") return slices # list of DICOM and it worked
@pugchoi
@pugchoi 8 месяцев назад
Very good video. Every step is explained, making it very pleasant for beginners. Thank you very much
@lesliewubbel9157
@lesliewubbel9157 8 месяцев назад
Thanks
@egemengok6638
@egemengok6638 8 месяцев назад
hello leslie, is there anyway i can contact to you. I want to talk about brats 2021
@lesliewubbel9157
@lesliewubbel9157 8 месяцев назад
Yup at lesliemwubbel.com schedule a zoom call and hopefully I won't have class
@justinbeaudry5210
@justinbeaudry5210 8 месяцев назад
Is the info you put in the Dockerfile copied from somewhere?
@lesliewubbel9157
@lesliewubbel9157 8 месяцев назад
Yes it's from google's docs this a default dockerfile used to make deployments its in the blog post the hyperlink should be there if its not just tell me and I will update it
@vijaynathnair
@vijaynathnair 8 месяцев назад
Thank you for this fantastic video! Your detailed instructions saved me a ton of time. Great job!
@lesliewubbel9157
@lesliewubbel9157 7 месяцев назад
Glad it helped!
@tiagopereira1181
@tiagopereira1181 8 месяцев назад
I installed google cloud and it runs on command line but not on my terminal in VScode. Any idea why this happens? Thanks for the help in advance
@lesliewubbel9157
@lesliewubbel9157 8 месяцев назад
Yes this happens sometimes Restarted the VScode?
@lesliewubbel9157
@lesliewubbel9157 8 месяцев назад
Try plug in called Google Cloud Code see if that helps
@lesliewubbel9157
@lesliewubbel9157 8 месяцев назад
did you resolve it?
@tiagopereira1181
@tiagopereira1181 8 месяцев назад
@@lesliewubbel9157 no but I found a solution other than Google cloud. If I come to need Google cloud again I Will certainly do that. Thanks a lot
@omkar7795
@omkar7795 5 месяцев назад
@@lesliewubbel9157 I had this same issue and restarting VS Code fixed the issue
@rijumondal6876
@rijumondal6876 8 месяцев назад
Bro I was stuck with this https issue for a week, thank for saving me
@lesliewubbel9157
@lesliewubbel9157 8 месяцев назад
No problem, I have been there done that before with the same issue its the concept is not explained in depth its important. On deployment is always issue too
@zhangyida-n2f
@zhangyida-n2f 8 месяцев назад
Hello, do you have the dataset and labels of brats2021 task2?
@be_present_now
@be_present_now 8 месяцев назад
Good explanations Leslie 👍
@be_present_now
@be_present_now 8 месяцев назад
This is a very helpful tutorial. Thanks! 👍
@lesliewubbel9157
@lesliewubbel9157 8 месяцев назад
Thanks man
@Witcaped
@Witcaped 9 месяцев назад
Hey Leslie, I am an undergrad student working with deep leaning and all, I was wondering if you have maybe a discord server where we can talk and collaborate, Thanks!
@lesliewubbel9157
@lesliewubbel9157 9 месяцев назад
Good morning @GamerSan, In the past I would've jumped on creating a discord however today, I don't have anymore time or energy to collaborate to my fullest you will be disappointed by effort. Why? Well I am just really busy - I am in a MBA program now - I work full time & part time now - I also host a podcast - I am still writing blog post - I am still making video content when I can However I can make like 40 minutes to 60 hours to meet? lesliemwubbel.com/11-consulting/ or emailing me is going be the best way lesliemwubbel@gmail.com
@Witcaped
@Witcaped 9 месяцев назад
@@lesliewubbel9157 hey Leslie, thank you for replying. I understand and respect your busy schedule. I’ll schedule the meet shortly.
@wendelgomesdev
@wendelgomesdev 9 месяцев назад
Perfect!
@lesliewubbel9157
@lesliewubbel9157 9 месяцев назад
Thanks!
@aqib5354
@aqib5354 9 месяцев назад
Plz teach flask start to end and deployment also
@lesliewubbel9157
@lesliewubbel9157 9 месяцев назад
Huh sorry I don't understand. Do you want a tutorial purely on flask? Correct? Then a in depth tutorial on deployment logic like ports? Dockerfile?
@be_present_now
@be_present_now 8 месяцев назад
Yea I think he means a flask tutorial for building real life apps. I also feel a flask playlist would be really helpful, most flask tutorial on YT are old, a modern series of flask tutorial vids in 2024 would be nice. Then ofcourse, how to deploy the flask app over the cloud so that end users are able to use them.@@lesliewubbel9157
@saswatm23
@saswatm23 8 месяцев назад
@@lesliewubbel9157 +1
@aleksanderalsviksivertsen8326
@aleksanderalsviksivertsen8326 9 месяцев назад
Super great video!
@lesliewubbel9157
@lesliewubbel9157 9 месяцев назад
Thanks
@ValuedValue
@ValuedValue 9 месяцев назад
Doesn't work
@sarlavi5665
@sarlavi5665 9 месяцев назад
Thank you so much sir, this trick helps me a lot!!!!
@angeldelatorre8408
@angeldelatorre8408 10 месяцев назад
Great hack, I've avoided many keywords cause they don't have Home and End, thanks!
@0xcalmaf976
@0xcalmaf976 Год назад
Great stuff man, grabbing some snacks already
@lesliewubbel9157
@lesliewubbel9157 Год назад
Thanks man I appreciate the support