Posts

Showing posts from May, 2024

Generative AI App LangChain Hugging Face Open Source Models Tutorial

Image
Generative AI App LangChain Hugging Face Open Source Models Tutorial Introduction         If you are looking to build a simple Generative AI App using open source models, then you are at the right place. When I was looking online for a tutorial to build a simple Generative AI App, I usually find videos which are very long and complex to follow or I find courses which are also very long and very time consuming. Hence I decided to come up with this tutorial.         In this tutorial we will focus on building a Generative AI App using simple Python code, LangChain, Open Source models from Hugging Face and Streamlit UI. In this tutorial we will build a simple Generative AI App which creates a caption for any uploaded image, then creates a short story based on the generated caption and then creates an audio file of the generated story which you can listen to. Basics         We will start with some basic concepts and then move on to ...