Natural Language Processing Web app with Next.js, Hugging Face, & Tailwind CSS

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • Want to build smart web applications that stand out?
    This tutorial is for you!
    In this tutorial I'll go through the fundamentals of Next.js, Tailwind CSS and Hugging Face's vast library of pre-trained models. We'll cover everything from building the front end of the application to creating a RESTful API using Next.js and seamlessly integrating Hugging Face's Inference endpoints to carry out specific AI tasks. We are going to build a NextJS app from scratch that uses Natural Language Processing to detect human emotions from text. After this tutorial you will be able to build your own web application end-to-end, that runs in the cloud and uses one or many of the 500,000+ models that Hugging Face offers.
    In this video, you'll learn:
    1. Fundamentals of Next.js for fast and modern React applications
    2. Tapping into the massive library of Hugging Face models for natural language processing
    3. Styling your projects with the efficient Tailwind CSS, and Tailwind animations
    Video Chapters
    00:00 Introduction
    00:49 Initialize Next.js and Tailwind CSS
    02:12 Building a Responsive Header for different page sizes
    03:38 How to style a Textbox
    05:39 How to dynamically increase Textbox height
    11:34 How to send debounced API calls
    16:10 How to build a REST API with Next.js
    19:15 How to interact with Hugging Face from a Node server
    28:49 Filtering the JSON response from AI
    35:05 Displaying the response as Tags
    38:52 Adding Emoji to each emotion
    42:07 Setting the page background color
    44:44 How to add fade in/out animation using Tailwind CSS
    50:34 Adding loader/spinner to show loading state
    Complete Code: github.com/KoushikJit/paint-m...
    Links mentioned
    Hugging Face Inference Endpoints: huggingface.co/docs/huggingfa...
    React Loader Spinner: mhnpd.github.io/react-loader-...
    Happy coding!
  • Věda a technologie

Komentáře • 8

  • @shwetabhat9981
    @shwetabhat9981 Před 5 měsíci

    Absolutely amazing. Love the fact that you teach how to use AI ML with streamlined web development . Thank you so much. Looking forward to so much more 🎉

    • @maplearcadecode
      @maplearcadecode  Před 5 měsíci +1

      Thank you for your kind words! I'll keep more content coming.

  • @ahmedahmedx9600
    @ahmedahmedx9600 Před 4 měsíci

    What theme is used in vscode in beginning of video ?

  • @shaileshwaniya2581
    @shaileshwaniya2581 Před 5 měsíci

    Hello, can you tell me that how much time it took to learn the coding that you are showing in this video?
    I'm newbie and wants to learn coding, specifically python

    • @maplearcadecode
      @maplearcadecode  Před 5 měsíci

      As a starting point for coding, I would suggest the Head First series of books. Try their Head First Python and see if it's your thing. As with learning anything new, coding becomes easier really really fast. Happy coding!

  • @shadytiger160
    @shadytiger160 Před 5 měsíci

    AWESONE❤
    I was waiting for a video from you for a long time😅 Thankyou🫡

    • @maplearcadecode
      @maplearcadecode  Před 5 měsíci +1

      Thank you so much @shadytiger160 🙌

    • @shadytiger160
      @shadytiger160 Před 5 měsíci

      @@maplearcadecode can you make something like a “Gesture controlled web application“? Just a recommendation 🙂
      Obviously with next and tailwind 😅