- Видео 29
- Просмотров 34 899
CODING CRAFT
Индия
Добавлен 8 сен 2018
Welcome to Coding Craft: Your Python Programming Expert!
👋 Hey Coders! Explore Python essentials and advanced applications like AI, ML, and data science at Coding Craft. We offer in-depth tutorials, blending theory with hands-on examples, ensuring you grasp complex concepts effortlessly.
📘 What We Offer:
Master Python from basics to advanced levels. Our tutorials cover diverse topics, from foundational Python skills to specialized areas like AI, machine learning, and deep learning.
🌟 Why Choose Us:
Led by experienced programmers, our meticulously crafted tutorials keep you updated with the latest tech trends and best practices. Join our community to collaborate on projects, share insights, and connect with fellow coders.
🚀 Transform Your Coding Journey:
Coding Craft caters to all levels, from beginners to experts. Subscribe for a transformative coding experience.
🔗 Stay Connected:
Subscribe now: www.youtube.com/@codingcraft
Happy Coding!
Founder, Coding Craft
👋 Hey Coders! Explore Python essentials and advanced applications like AI, ML, and data science at Coding Craft. We offer in-depth tutorials, blending theory with hands-on examples, ensuring you grasp complex concepts effortlessly.
📘 What We Offer:
Master Python from basics to advanced levels. Our tutorials cover diverse topics, from foundational Python skills to specialized areas like AI, machine learning, and deep learning.
🌟 Why Choose Us:
Led by experienced programmers, our meticulously crafted tutorials keep you updated with the latest tech trends and best practices. Join our community to collaborate on projects, share insights, and connect with fellow coders.
🚀 Transform Your Coding Journey:
Coding Craft caters to all levels, from beginners to experts. Subscribe for a transformative coding experience.
🔗 Stay Connected:
Subscribe now: www.youtube.com/@codingcraft
Happy Coding!
Founder, Coding Craft
Django Day 5: A Step-by-Step Guide to Templates
Welcome to Day 5 of our Django series! Today, we're exploring Django Templates. We’ll learn how to set up and configure templates, organize them for our app, and enhance our web content's display using HTML and CSS. You’ll see firsthand how templates help create a clean and visually appealing layout for your web app!
If you missed the previous days, be sure to check them out for a smooth learning experience. Feel free to leave a comment if you have any questions and subscribe for more insights. See you tomorrow for the next session!
👉 Previous Days:
👉 Day 1: ruclips.net/video/IDgiOnQIrDw/видео.html
👉 Day 2: ruclips.net/video/RqC33dVcTys/видео.html
👉 Day 3: ruclips.net/video/Y9Od6Fv5jl4/видео.h...
If you missed the previous days, be sure to check them out for a smooth learning experience. Feel free to leave a comment if you have any questions and subscribe for more insights. See you tomorrow for the next session!
👉 Previous Days:
👉 Day 1: ruclips.net/video/IDgiOnQIrDw/видео.html
👉 Day 2: ruclips.net/video/RqC33dVcTys/видео.html
👉 Day 3: ruclips.net/video/Y9Od6Fv5jl4/видео.h...
Просмотров: 42
Видео
Django Day 4: Exploring Views - Function vs Class-Based Views
Просмотров 46Месяц назад
Welcome to Day 4 of our Django series! Today, we're diving into Django Views. We'll explore Function-Based Views (FBV) vs. Class-Based Views (CBV), render templates, pass context data, and display blog posts from our models using both approaches. If you missed Days 1-3, be sure to check them out for a smooth learning experience. Don’t forget to leave a comment if you have any questions and subs...
Django Day 3: Mastering the Admin Interface
Просмотров 50Месяц назад
Welcome to Day 3 of our Django series! Today, we're diving into the Django Admin Interface. We'll cover setting up the admin, registering models, customizing the interface, and managing entries with ease. If you missed Days 1 and 2, make sure to check them out for a smooth continuation. Leave a comment if you have any questions or issues. Don’t forget to subscribe for more Django tips and trick...
Django Day 2: Mastering Models for Your Web App
Просмотров 51Месяц назад
Welcome back to our Django series! 🎉 In Day 2, we’re diving into the world of Django Models. We’ll explore how to define models, use model methods, and interact with the database to handle your app's data efficiently. Follow along as we build and modify models for a blog application, and learn how to manage data like a pro. Don’t miss out on this essential step in mastering Django! 🚀 🔹 What We ...
Django Day 1: First Steps to Building Web Apps
Просмотров 79Месяц назад
Welcome to Day 1 of the Django Series! 🚀 In this video, we kick off our Django journey by introducing the basics of Django, understanding its MVT architecture, and setting up the development environment. We'll also explore the file structure and run a simple Hello World example to get you started! 🎉 🛠️ Topics Covered: What is Django? Overview & Features Django’s MVT Architecture Explained Setti...
Deploy Your Flask App with Vercel PostgreSQL DB: A Step-by-Step Guide
Просмотров 1,2 тыс.3 месяца назад
Ready to take your Flask project to the next level? In this step-by-step tutorial, I'll guide you through deploying your Flask application seamlessly using Vercel's free platform with a PostgreSQL database. We'll cover everything from setting up your project locally to pushing it live for the world to see! What you'll learn: Setting up a Flask project with PostgreSQL Project structure for optim...
Deploy Your Flask App with Vercel: A Step-by-Step Guide
Просмотров 21 тыс.7 месяцев назад
Description Ready to take your Flask project live? In this step-by-step tutorial, I'll guide you through deploying your Flask application seamlessly using Vercel's free platform. We'll cover everything from setting up your project locally to pushing it live for the world to see! What you'll learn: Project structure for optimal Vercel deployment Creating a GitHub repository Connecting Vercel to ...
Kaggle Data Loading in Google Colab: Easy Steps !!
Просмотров 2,4 тыс.Год назад
#googlecolab #kaggle #python #techtutorials #datascience #machinelearning Welcome to our tutorial on loading Kaggle data in Google Colab! 🚀 In this video, you'll learn step-by-step how to seamlessly import Kaggle datasets into your Google Colab environment. Whether you're a beginner or an experienced data enthusiast, this tutorial will guide you through the process with ease. 🎓 What You'll Lear...
Create Dalle-Style Images Using OpenCV & Python !!
Просмотров 117Год назад
#python #opencvpython #dalle2 #bingimagecreator #artificialintelligence #pythonai @codingcraft Get ready for a creative adventure in our latest tutorial - Create Dalle-Style Images Using Open CV & Python !! Discover the art of transforming ordinary photos into charming cartoons using the power of Python and OpenCV. 🔍 What You'll Explore: 🚀 Dive into the world of image magic with Python and Open...
Phone Location Tracker: Python Magic!
Просмотров 1,7 тыс.Год назад
In this exciting tutorial, explore the magic of Python with our Phone Location Tracker! Discover how to extract detailed location information from any phone number using Python programming. 🚀✨ 🔍 What You'll Learn: Extract precise location details from phone numbers Utilize OpenCage Geocoding API for accurate coordinates Create interactive maps with Folium 🔧 Resources: GitHub Repository: github....
👷♂️ Build Python Web Server: Step-by-Step! 🚀
Просмотров 95Год назад
👷♂️ Build Python Web Server: Step-by-Step! 🚀
Building Powerful Chatbots in Python Using Streamlit and OpenAI
Просмотров 328Год назад
Building Powerful Chatbots in Python Using Streamlit and OpenAI
Unleash the Power of Python - Create Your Own Virtual Assistant Today!
Просмотров 182Год назад
Unleash the Power of Python - Create Your Own Virtual Assistant Today!
I am getting data too long error how to solve this error pls reply😢😢
Which error you are getting?
The best tutorial you just saved me 2 days of struggle
my error: A Serverless Function has exceeded the unzipped maximum size of 250 MB. Can anyone help me?
Are you including any large package.?
No
Provide me the error name so I can provide you with a solution.
(The deploying outputs ... step is taking too long. This is what is shown in my logs) Installing required dependencies... Build Completed in /vercel/output [56s] Deploying outputs... (Its taking too long for this. Does anyone know the reason?)
It sometimes depends on your internet or sometimes it refers to the cleanliness project. If the directory is too messy Vercel will take time to build the dependencies.
@@codingcraft as soon as i add tensorflow in the requirements.txt file, it gets stuck at that deploying outputs ... step. if i remove it, the depolyment is super quick, but the flask app then doesnt work because tensorflow is required in my flask app.
@sharpesthawk because tensorflow library is too heavy as compared to any other libraries.
Thanks for explaining it in detail
It's great that you like it.❤️
Nice video, explanation is good. One suggestion use your own voice, you can teach in any language and just add cc. And I found in some places there are long stretch of audio less parts, try to avoid that.
Thanks for the feedback! I’ll use my own voice and add captions in future videos. I’ll also work on reducing any long gaps without audio. Appreciate your input!
how to change python version in vercel i got error because vercel running my project with python 3.12 while my project need run with python 3.11
Create a runtime.txt file in the root of your project (where your requirements.txt or vercel.json file is located). Inside the runtime.txt file add your python version like (python-3.11.0). Deploy your project again, it will use the 3.11 version.
Hey! I was having a lot of issues deploying Flask on Vercel, especially with installing Flask-SQLAlchemy. Using your requirements file as a reference helped me successfully deploy my project. Thanks a lot. Just starred your repo and followed youu on Github!
Thanks
can i host application with flask and for example React on the front. I tried it by myself once and did not handle this
Yeah it's possible. For frontend you go with React and backend go with Flask. You just need to configure your main app.jsx file in vercel.json so it renders the frontend.
Can you please tell in detail what exactly to do? @codingcraft
Sure in the upcoming video you will get to know the detailed steps of how to do so. Stay in touch.
Please put project like Upload image and save on statics folder on vercel
Yeah sure 😃
@@codingcraft with filename store on database
Please put project like Upload image and save on statics folder on vercel
Yeah sure 👍
i followed everything works except when installing into vercel, my css and javascript did not work. It seemed like vercel cannot find my static files in static which has the css and ja files
Check your path in index.html file same as mine, and it should work fine. Also check the folder structure.
Thank you so much. I am clear now.
worked well
am so happy you deserve my subscription
its everything i wanted earlier but let me hope vercel is free of charge
Yes it's free to use.
thank you so much bro for this video
Always welcome
This is by far the best tutorial I'd found about regarding to deploying Flask with Vercel, no blogs actually goes that straight forward. I'm going to write a Medium post about this and will credit you for this. Thanks once again!
Thank you for this, helped a lot.
i hope am not too late to ask but i wanna know how does vercell know the file to run?
Because of the vercel.json file.
@@codingcraft damn u still active? ♥️🔥
Yes bro, I'm active all the time.
@@codingcraft hello bro, i did everything in the tutorial then i go to The production deployment page and im seeing 'No product deployment, push to the main branch' im new to GitHub and all that what does it mean? 🙏
Background animation looks dapperm y drilla. looking good and that
i'm trying to deploy an app with a backend and remote database and it only loads the landing page. when I try to login it says "Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."
the app however works perfectly locally
Maybe its not working because of the database, as only few databases are supported by vercel such as PostgreSQl, Redis etc. If you use any other databases that are not supported by Vercel, it gives internl error. As it can perfectly works fine on local server but cannot on live deployment.
I LOVE U BRO
This Serverless Function has crashed. Your connection is working correctly. Vercel is working correctly. 500: INTERNAL_SERVER_ERROR Code: FUNCTION_INVOCATION_FAILED ID: bom1::jphql-1717149458069-0dea0d36ef33 What should i do?
This error indicates there might be an error in your flask code, try to update requirements.txt file after every module installation.
bro same problem what u did for solving this error
Provide me the error and also tell are you using any database with it?.
Why I update the vercel.json in GitHub then "Deployments" page in Vercel didn't refresh after 5 times?
Can you specify what changes you made in vercel.json file.
hello mr, new subcriber here, i got everything works but This Serverless Function has crashed. Your connection is working correctly. Vercel is working correctly. 500: INTERNAL_SERVER_ERROR Code: FUNCTION_INVOCATION_FAILED ID: sin1::2xlkl-1715497307787-65c73be60577
is it necessary to work in a virtual enviornment?
Yes, It is best practice if you are working on large or medium scale projects.
ah man thank you so much!!
how to fix Failed to run "pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt" Error: Command failed: pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement numpy==1.21.6 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0rc1, 1.23.0rc2, 1.23.0rc3, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0rc1, 1.24.0rc2, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0rc1, 1.25.0, 1.25.1, 1.25.2, 1.26.0b1, 1.26.0rc1, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0b1, 2.0.0rc1) ERROR: No matching distribution found for numpy==1.21.6
did u ever resolve this?
In my file I didn't receive these errors. If you are receiving such errors just provide your python version prior. Create a runtime.txt file in the root of your project (where your requirements.txt or vercel.json file is located). Inside the runtime.txt file add your python version like (python-3.11.0). Deploy your project again, it will use the 3.11 version.
what if i have multiple python file ? like anything i need to do with vercel.json if i have morethan 1 python file?
But your all main code will be in 1 file, you can import all the rest files in that one file. In our case 'app.py' contains main code, If I have multiple files I will import all that files in my 'app.py' file.
perfectly working , great work
Ty❤
PERFECTTTT
Unable to find any supported Python versions. (i got this error)
create a package.json file and add the following: { "engines": {"node": "18.x"} }
Check your Project Settings and check the version of node, if it is not 18.x then choose the 18.x from dropdown.
Does this deploy the api endpoints to serverless functions? Or is the app deployed as a long running process?
I haven't tried for api endpoints yet. It's for static websites or apps.
@@codingcraft how to fix Failed to run "pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt" Error: Command failed: pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement numpy==1.21.6 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0rc1, 1.23.0rc2, 1.23.0rc3, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0rc1, 1.24.0rc2, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0rc1, 1.25.0, 1.25.1, 1.25.2, 1.26.0b1, 1.26.0rc1, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0b1, 2.0.0rc1) ERROR: No matching distribution found for numpy==1.21.6
no, i just tried it.
Update your requirements.txt file
How to fix this Error: Command failed: pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/Flask/requirements.txt I already have node 18.x
When selecting the 18.x version from settings it is taking a lot of time to deploy the flask app on it. I don't know whether it will be deployed properly or not it is continuously running. Any solution for this
It will take time but no longer than 3-4 minutes. And for my case I haven't touched any advance settings while deploying the app.
@@codingcraft where can i see that 18.x version? settings on vs code?
By reviewing there are many people who is getting error in the above steps. Kindly check the the Node.js version in your project setting, it should be "18.x".
broh when i try clone and to deploy your code locally i got this error Error: Unable to find any supported Python versions. please replay
I had the same issue today. Solution: Go to the settings of your current project -> scroll down -> change the nodejs version from "20.x" to "18.x"
@@thatkid-memeandedit2341 Thanks!! Not All Heroes Wear Capes
Right😊
just add package.json file with just this { "engines": { "node": "18.x" } } and it should just work
This file can't be added in flask structure because this 18.x version can be done with vercel deploy settings. I have checked the following error, and it's occurring due to vercel settings change.
Thank you very much, the video was very helpful
Glad it helped
thanks for helping me to load my datasets easily
It's my pleasure 😊
Thanks, can you please provide git repo
github.com/CodingCraftYT/Python-OpenCV-Cartoonify
Aswsome tutorial please keep it up
Doesnt work, got the same location for Peru number's, Its the OpenCage API doesn't work anymore?
There is an issue with OpenCage API after reviewing it, instead of OpenCage API you can try the following free API :- BING MAP API Google Geo Coding Map API The above API can fulfill your needs if OpenCage not working.
Amazing 🤩
Thanks.
Superb
Thanks 🤗
🙌❤️💯
Amazing👍👍
Amazing