Tom Dekan
Tom Dekan
  • 59
  • 95 221
Can I make a perfect deep fake of myself? (Using FLUX)
The output is pretty surprising. I'll show you the easiest way to fine-tune a Flux model (the best public ai image generation models) to produce images of yourself.
We'll use Replicate's simple training kit: replicate.com/ostris/flux-dev-lora-trainer/train
Переглядів: 142

Відео

Train an AI from scratch to generate Shakespeare with Python and MacOS 🧠 2024 guide
Переглядів 20221 день тому
"Artificial intelligence is a thing made by some other deity" - We'll train a real AI model, using python, to generate Shakespearean text. This technique is used by modern LLMs, e.g., OpenAI and Anthropic. ✍️ Written guide here: www.photondesigner.com/articles/gpt-macos 0:00 -1:43 Intro and start building 1:44-2:43 Optional outline of some key features of transformers 2:44-10:09 Continue building
2 powerful frameworks: Using Django with Next.js 🥷⚛️
Переглядів 673Місяць тому
2 powerful frameworks. We'll create a full-stack application by combining: 1. Next.js (with the new App Router), written in React 2. Django, with Django Ninja 👉 Written guide: www.photondesigner.com/articles/next-django-ninja?ref=yt
How to deploy Django Ninja to production in 7 mins 🥷
Переглядів 376Місяць тому
People have requested this: how I deploy Django and Django Ninja to production in 7 minutes. This is what I do for all my Django production sites; it's easy. Written guide here: www.photondesigner.com/articles/deploy-ninja?ref=yt
Create a React search component in 8 mins 🕵🏻‍
Переглядів 1192 місяці тому
We'll create a Google-style search bar component in React in 8 minutes. 👉 Written guide here: www.photondesigner.com/articles/react-search-bar?ref=ty Subscribe for more weekly free content ⭐️
React + Django Ninja: Full-Stack Auth (in 15 Mins) ⚡️
Переглядів 1,8 тис.3 місяці тому
We'll create a full-stack application using React.js frontend and a Django REST API, using the awesome Django Ninja (Much nicer than Django REST framework), including user authentication. 👉 Written guide: www.photondesigner.com/articles/react-auth?ref=yt We'll also add 5 other features that you'll always want when adding auth, such as: - persistent state (e.g., refreshing the page and still bei...
Learning Next.js - Doing the official Vercel tutorial 📕
Переглядів 3033 місяці тому
I'm learning Next.js (a full-stack JavaScript framework). Here's me doing the full official Next.js tutorial by Vercel (including solving a few bugs in the Vercel tutorial 🐛), and my first-thoughts compared to Django and other full-stack frameworks. Feel free to follow along: Vercel's written tutorial in the video is here: nextjs.org/learn Subscribe for weekly videos about software, development...
Want to ship faster? Spend money 💰
Переглядів 2083 місяці тому
Don't be cheap! If you can afford to spend money to speed things up, do it. Remember: cheap is expensive.
Django: Stream your voice clone 🎼
Переглядів 3813 місяці тому
Let's turn your voice into an infinitely-scalable instrument with Django 🎉. We'll build a Django app that: 1. streams audio to the user's browser (easily with HttpStreamingResponse) 2. uses your cloned voice ✍️ Written guide: www.photondesigner.com/articles/voice-api?ref=yt 👉 Get free programming content weekly from my mailing list: www.photondesigner.com#signup-form
How to use Vue with Django (including Auth) 🔒
Переглядів 3,3 тис.3 місяці тому
We'll set up a Vue.js frontend a Django backend. Strong foundations for your production app. We'll also add auth 🔒 Simple and robust. No tokens, no DRF, no JWT. I'll also show you 5 things that you'll always want to add, including: 1. Page routing (using Vue Router) 2. Simple centralised state management (using Pinia) 3. Persistent state (e.g., refreshing the page and still being logged in) usi...
For founders: 1 mistake about growth ☘️
Переглядів 1714 місяці тому
After this video, you'll avoid this mental mistake I've made in the past: the step change fallacy
React + Django + Ninja (Full-stack app in 15 mins)
Переглядів 2,6 тис.4 місяці тому
We'll build a React and Django app fast, using Django Ninja - aiming for under 15 minutes ⏱️ Comment below if you want the next video to add auth 🗳️ ✉️ More free guides here: www.photondesigner.com/blog?ref=yt
Django Ninja - The new DRF killer?! 🥷
Переглядів 4,1 тис.4 місяці тому
Django Ninja is getting a lot of attention online. I show you how to build a simple API, with built in docs, using Django Ninja (a package for Django). (Spoiler: such a nice way to create APIs FAST!) ✍️ Check out my other written guides here: www.photondesigner.com/articles?ref-yt
Add AI suggestions to Django 🗯
Переглядів 8724 місяці тому
Add AI suggestions to Django 🗯
How to use React with Django (in 10 mins) ⚛️
Переглядів 6 тис.5 місяців тому
How to use React with Django (in 10 mins) ⚛️
7 minutes to polling with Django and HTMX 🗳️
Переглядів 1,2 тис.5 місяців тому
7 minutes to polling with Django and HTMX 🗳️
How to use Postgres as a simple task queue for Django 🐘
Переглядів 1,1 тис.5 місяців тому
How to use Postgres as a simple task queue for Django 🐘
(Live stream) Building my product using Django and Vue - Upgrading to Claude 3 LLM
Переглядів 4515 місяців тому
(Live stream) Building my product using Django and Vue - Upgrading to Claude 3 LLM
How I cloned my voice 💬
Переглядів 2355 місяців тому
How I cloned my voice 💬
Add Stripe subscriptions to Django in 7 mins 💵
Переглядів 2,2 тис.6 місяців тому
Add Stripe subscriptions to Django in 7 mins 💵
Add user comments to Django in 9 mins 🧵
Переглядів 4076 місяців тому
Add user comments to Django in 9 mins 🧵
7 examples in 6 minutes using Django GeneratedField ⚡
Переглядів 1 тис.6 місяців тому
7 examples in 6 minutes using Django GeneratedField ⚡
Create a quiz app with HTMX and Django in 8 mins ☑️
Переглядів 1,9 тис.7 місяців тому
Create a quiz app with HTMX and Django in 8 mins ☑️
Add a serverless python function (Using AWS Chalice) 🍷
Переглядів 6967 місяців тому
Add a serverless python function (Using AWS Chalice) 🍷
Solve connection errors when using Django 🕸️
Переглядів 1467 місяців тому
Solve connection errors when using Django 🕸️
Adding python serverless functions as Django workers 🗡
Переглядів 3418 місяців тому
Adding python serverless functions as Django workers 🗡
Easily add Tailwind CSS to Django 💨
Переглядів 6 тис.8 місяців тому
Easily add Tailwind CSS to Django 💨
Django app killer: Query in for-loop 🌪️
Переглядів 7428 місяців тому
Django app killer: Query in for-loop 🌪️
Add Magic Link + Email Sign-in with Django 🪄
Переглядів 8228 місяців тому
Add Magic Link Email Sign-in with Django 🪄
Build a Django AI colorization app 🎨🦾
Переглядів 1,2 тис.8 місяців тому
Build a Django AI colorization app 🎨🦾

КОМЕНТАРІ

  • @KarioMuschel
    @KarioMuschel День тому

    you're good at copy pasting, dude

  • @krizh289
    @krizh289 6 днів тому

    I will say if you are a newer dev, it's definitely worth it to setup a VPS/VM yourself just so you can get exposure to some devops and how it actually works. If you're a full time SWE and you already have knowledge about deployment, yeah your salary can afford a premium for easy deployment

  • @krizh289
    @krizh289 6 днів тому

    Nice video, you should add a second part for authentication between the two

  • @JimmyVaqueiro
    @JimmyVaqueiro 11 днів тому

    Hi Tom, thanks for the video. I've been looking for something like this to ease my Django development. I imagine that for things like navigation (navbar, footer links, and links in general) there's a bit of work to be done after exporting from Webflow...any tips on how to handle this?

  • @anooptho4u
    @anooptho4u 13 днів тому

    Wonderful. Very lengthy information in short video .looking for more like this.

  • @leadershiptricks6430
    @leadershiptricks6430 16 днів тому

    tanks a lot teach simple concise and complete!

  • @sup_nim
    @sup_nim 19 днів тому

    I've learned so much from you. Thank you so much. I like the no-nonsense, clean part tutorials you do. Continue the great work, maybe think about doing more nextjs + django ninja stuff. ques, ai etc

  • @ayarirebah7263
    @ayarirebah7263 20 днів тому

    Hi, How to make navigation bar with dropdown items ? Can you help me? Thank you

    • @tomdekan
      @tomdekan 19 днів тому

      Hi. I suggest searching for “tailwind nav bar with dropdown menu”. You should see some good examples

  • @almerstaal351
    @almerstaal351 20 днів тому

    I learned from Pieter Levels that you should try and have everything be different in your training data photos except for your face, so the model knows it should only train for that :)

    • @tomdekan
      @tomdekan 19 днів тому

      Yeah, that’s right. One extra tip: high resolution input images produce higher quality output :) Have you trained any models?

  • @coolguy1538
    @coolguy1538 20 днів тому

    That's cool, I want to make one for my Samsung phone, does it export as an App, a .apk file?

    • @tomdekan
      @tomdekan 19 днів тому

      No, but perhaps but the tutorial in ChatGPT and ask how to do that!

  • @Deepak_CodeLab
    @Deepak_CodeLab Місяць тому

    please help me how can i make webhook?

    • @tomdekan
      @tomdekan 27 днів тому

      Stripe will send it automatically. If you're still unsure, read my written guide: www.photondesigner.com/articles/stripe-subs

  • @Deepak_CodeLab
    @Deepak_CodeLab Місяць тому

    not showing Stripe CLI in dashboard

    • @tomdekan
      @tomdekan 27 днів тому

      Check my guide instructions and the Stripe guide. It might seem unfamiliar to you now, but the documents show you how to do it.

  • @Redkeylucas
    @Redkeylucas Місяць тому

    Hi tom, one thing if the system become too big and we have a lot of API paths, and a lot of models, there is a way to break it down to make it more maintainability?

    • @tomdekan
      @tomdekan 27 днів тому

      Hi Lucas. Sure. The easiest thing to do would be to have multiple API files. I'd probably keep them in the same folder. This would be an easy way to separate many API paths.

  • @sahilsharma2867
    @sahilsharma2867 Місяць тому

    One simple suggestion, try to increase the font size for viewers

    • @tomdekan
      @tomdekan Місяць тому

      Great suggestion. Thanks! I’ll try that out

  • @zakimimit
    @zakimimit Місяць тому

    Thank you for the video and I hope you can make video on how to deploy Django Ninja Docker with celery on render.

    • @tomdekan
      @tomdekan Місяць тому

      You're welcome and thanks for the suggestion 🙂

  • @justXcallXitXtechno
    @justXcallXitXtechno Місяць тому

    nice and clean overview and setup, pacing. not a django/wagtail "main".. but afaik the biggest issue will still persist in terms of actual backend schemas, despite auto-documented, headless api. afaik the main problem and downside is that django/wagtail cms/backends can't easily be leveraged as all the schemas would have to be serialized and deserialized manually which brings other challenges down the line as well.

    • @tomdekan
      @tomdekan Місяць тому

      Thanks! Would you expand on what you mean by the problems of serialization manually?

  • @afeezolopade8654
    @afeezolopade8654 Місяць тому

    Nice video. It worked the first few minutes. And then the suggestion stopped displaying. I am also not seeing any output on the terminal except "get http/1.1" 200 2412

  • @joeljunior1119
    @joeljunior1119 Місяць тому

    Great tutorial!

  • @juliangrajales8236
    @juliangrajales8236 Місяць тому

    THANKS SR

    • @tomdekan
      @tomdekan Місяць тому

      You're welcome 🙂

  • @danielterrero7956
    @danielterrero7956 Місяць тому

    In mine everything is working correctly but when i click the button the sign in page is all white and when inspect and go to console it says this "The given origin is not allowed for the given client ID." Really dont know what to do

    • @danielterrero7956
      @danielterrero7956 Місяць тому

      idk if I have to give it time since i just created my credentials or what

    • @tomdekan
      @tomdekan Місяць тому

      Did you select 'redirect' rather than 'popup'? Here's something I added to the video description: ​Edit 2024-07-19: Google now doesn't allow the redirect option in the local dev environment. You'll need to: - Change your HTML code to use "popup" rather than redirect - Add the two lines I mention in the settings.py file to allow popups to redirect to Django. I've updated the written guide so that it now works with a popup 🙂

  • @lokilivehai
    @lokilivehai Місяць тому

    It helps me a lot. Thanks ❤

    • @tomdekan
      @tomdekan Місяць тому

      You're welcome 😊

  • @redblues9566
    @redblues9566 Місяць тому

    Wow. Great. thanks.

  • @perronemirko
    @perronemirko Місяць тому

    Good tutorial, but please mate buy a better mic.

    • @tomdekan
      @tomdekan Місяць тому

      Thanks @perronemirko 🙂 I have since bought a better mic

  • @christelorsaoure-jf3ne
    @christelorsaoure-jf3ne Місяць тому

    Thanks for this video♥. Please, I want to ask you, how deploy django ninja api for production ?

    • @tomdekan
      @tomdekan Місяць тому

      Hi Christelor - I just wrote a guide in response to your comment and mentioned you. Here it is: www.photondesigner.com/articles/deploy-ninja

    • @christelorsaoure-jf3ne
      @christelorsaoure-jf3ne Місяць тому

      @@tomdekan Thanks for your response. You're a great guy

    • @tomdekan
      @tomdekan Місяць тому

      Thanks @@christelorsaoure-jf3ne- you're welcome!

  • @EfeRoy
    @EfeRoy 2 місяці тому

    can this work on a react js frontend

  • @Seecret0602
    @Seecret0602 2 місяці тому

    Very good video and well explained :D

    • @tomdekan
      @tomdekan Місяць тому

      Thanks and glad you liked it 🙂

  • @Jeremy.Beutler
    @Jeremy.Beutler 2 місяці тому

    Thank you, this is very helpful for leveraging the power of both vue and django. One question: Does localstorage leave a security vulnerability since the user can modify its state?

    • @tomdekan
      @tomdekan Місяць тому

      You're welcome 🙂 If you just used local storage (as in the local storage on the browser) you might create a security issue that you'd need to handle. However, we don't do that in the guide. In the guide, we use: 1. session storage. This sets a httpsecure cookie that only servers can modify (e.g., we make a request to Django from vue to set it, but vue can't access it. 2. csrftoken. This is a random token that django sends to vue to check that only ouor intended site (our vue app) is accessing Django. Vue can access this, but django is expecting a certain csrftoken back. The csrftoken contains no sensitive data and changing it would cause django to throw an error.

  • @breaktimerts7074
    @breaktimerts7074 2 місяці тому

    wow, how to make such a smooth cursor animation on macos?

    • @tomdekan
      @tomdekan 2 місяці тому

      Screenstudio

  • @color4bg
    @color4bg 2 місяці тому

    Super thank you for such detailed and nice tutorial 👏

    • @tomdekan
      @tomdekan 2 місяці тому

      You’re welcome 😊

  • @Investigamer
    @Investigamer 2 місяці тому

    Have been using django ninja for some time now, it really is an amazing way to build API's. My weakspot has always been frontend, so now I'm trying to shore up my experience with JS technologies (mainly react, since its the only framework I've spent any real time on). Thanks for the awesome video, keep it up! More people need to know about Django Ninja 🚀

    • @tomdekan
      @tomdekan 2 місяці тому

      Glad to hear that you found it useful and I agree :)

  • @PaulRobson-p1y
    @PaulRobson-p1y 2 місяці тому

    Is it possible to implement the auth_receiver without resorting to @csrf_exempt which reduces security?

    • @tomdekan
      @tomdekan 2 місяці тому

      Cool question. To avoid removing the csrf except is possible but depends on what Google allows. Django generates the csrf token and then Google sends a request to Django. So to keep using that csrf token, you would need to send the csrf token to Google and then have Google also send that csrf token when it sends a request to auth receiver. So check out the Google docs to see what Google allows and let me know. One thing to note: This will add significantly higher complexity beyond the tutorial.

  • @Kathmandu-nv7dd
    @Kathmandu-nv7dd 2 місяці тому

    I would definately love to see how it can be deployed .Thanks

    • @tomdekan
      @tomdekan 2 місяці тому

      Thanks for that. Noted!

  • @abdrahim9307
    @abdrahim9307 2 місяці тому

    this is soo good

    • @tomdekan
      @tomdekan 2 місяці тому

      Thanks abdrahim!

  • @richard46966
    @richard46966 3 місяці тому

    Does the script still work?

    • @tomdekan
      @tomdekan 3 місяці тому

      It should do! Try it out

  • @anzilcutzz3148
    @anzilcutzz3148 3 місяці тому

    Hi Tom, I like the style of photondesigner's auth page, can you give the code for it ? please

    • @tomdekan
      @tomdekan 2 місяці тому

      Hi Anzil. I’m not going to post the source online due to the effort required to separate it from Photon Designer. However, feel free to copy the page source from your browser! You should be able to replicate it that way.

  • @thumbthrasher
    @thumbthrasher 3 місяці тому

    Hi Tom, thank you for this great video, found out that its not working in Firefox though due to a bug a in Firefox prevents it from loading source maps for WebExtensions (discovered when trying to log in)

    • @tomdekan
      @tomdekan 3 місяці тому

      You’re welcome and thanks for the info. Is the source maps bug in Firefox related to using Tailwind?

  • @ahmadumar9387
    @ahmadumar9387 3 місяці тому

    hi tom, why didn't you use alpine js for frontend... it would be smoother :)

    • @tomdekan
      @tomdekan 3 місяці тому

      Alpine.js is great! I wanted to use React here for the situation where you need a much more robust frontend. Alpine is great for embedding in a backend that serves HTML. But, in this instance, I am using Django Ninja to return JSON, so Alpine wouldn't be the right choice. Let me know if you've any more questions.

    • @ahmadumar9387
      @ahmadumar9387 3 місяці тому

      @@tomdekan thanks for your reply... i couldn't understood the part of stability 😅, because alpine.JS didn't use vDom, while react does :) alpineJS works similiar like vue, but faster and leighter, it also fetch API, it's whole x-data based on API... or did i missunderstood your point?

    • @tomdekan
      @tomdekan 2 місяці тому

      Almost! Some benefits of React v Alpine are: - it handles higher complexity more easily. For example, There are neat ways to put React code in components and handle lifecycle. This is strongly advantageous after you pass a certain complexity. - React has many more packages and support. This means you can do certain things much faster because other people have already written great packages for you, eg React Framer Motion.

  • @MamboslilMicroscope
    @MamboslilMicroscope 3 місяці тому

    pheeeew, the stuff on flowbite wasnt working, then i watched this. you are a life saver

    • @tomdekan
      @tomdekan 2 місяці тому

      Glad to hear it :)

  • @ChowdhuryMaksud
    @ChowdhuryMaksud 3 місяці тому

    It would be great if you could provide the GitHub link 🙏🙏

  • @pipinstallpython
    @pipinstallpython 3 місяці тому

    Hey Tom, attempted to find an email to reach out but wasn't able to but it looks like you respond to most comments so I'm hoping this message reaches you. I've been working on a Django, ninja, corse, all auth authentication system for a while. Currently in production I have a mobile first docker container which runs a flask app for mainly hosting the dash framework and on the backend I have that Django application also wrapped in a docker container with all I had mentioned. I've been trying to setup authentication from my flask server into my Django server remotely for users but I've ran into a few issues and resolved many others. Noticed a lot of comments in your ninja video are people interested in a video of how to set up authentication via ninja. I've also seen some of your prior work with authentication and read some of your other articles of similar nature. Your really talented, I'm recently getting back into making videos after a two years absence and am in the programming industry. Just wanted to reach out as I think we could help each other, have some initial code for this ninja authentication system Id like to get an opinion on and maybe we can find a place for us to collaborate on building a useful tutorial for the Django community. Reach out if your available or interested, would like to talk more. pipinstallpython@gmail.com, reference dash.geomapindex.com, geomapindex.com, piratesbargain.com and github.com/pip-install-python

  • @dojjy5798
    @dojjy5798 3 місяці тому

    Amazing, freshly baked 2 months ago. Needed it for a company project where we run some automatic script in the background when new task arrived. Thank you! Also benefited a lot from your google login video.(Although I had a GSI_LOGGER error, I saw some commented on your original video which is still not solve, so I am using the old google login API at the moment).

    • @tomdekan
      @tomdekan 3 місяці тому

      Awesome - great to hear 😊 On the Google login video, I updated the written guide 2 days ago to fix the GSI_LIGGER error (Google no longer allows redirect with Django). Check out the link in the Google video!

    • @dojjy5798
      @dojjy5798 3 місяці тому

      @@tomdekan OMG this is like christmas. Thank you.🔥

    • @tomdekan
      @tomdekan 3 місяці тому

      Haha - you’re welcome :)

  • @RobertoMaurizzi
    @RobertoMaurizzi 3 місяці тому

    If (and when!) you need a scheduler, check rq-scheduler instead of Celery

    • @tomdekan
      @tomdekan 2 місяці тому

      Thanks Roberto. Agree on the if!

  • @cryptosharx
    @cryptosharx 3 місяці тому

    I use celey, redis, docker! Please make a detail video on this, what should be a better alternate?

    • @tomdekan
      @tomdekan 2 місяці тому

      Good suggestions! I might make another short saying the simple tools that I tend to use.

  • @destinyefe8996
    @destinyefe8996 3 місяці тому

    🎉

  • @chideraokosa9722
    @chideraokosa9722 3 місяці тому

    Hello, thanks for the content, is it possible to invoke the local gateway asynchronously

    • @tomdekan
      @tomdekan 2 місяці тому

      You are welcome! What do you mean by “local gateway” here?

  • @DesktopChronicles
    @DesktopChronicles 3 місяці тому

    Valid points. Thank you for sharing your honest thoughts openly.

    • @tomdekan
      @tomdekan 3 місяці тому

      My pleasure. Glad you liked it 🙂