Building & Deploying a FastAPI Video Description App: From Code to Cloud with GPT, Docker and Azure
Last Updated on September 11, 2024 by Editorial Team
Author(s): Souradip Pal
Originally published on Towards AI.
This member-only story is on us. Upgrade to access all of Medium.
Ever wanted to turn a video into a text description without manually watching and writing down the details? Well, youβre in luck! Today, weβre going to build a FastAPI application that takes a video URL as input and generates a description using AI. But thatβs not all β weβll also show you how to containerize the app using Docker and deploy it to Azure Web Apps.
This tutorial is designed for beginners, so donβt worry if youβve never worked with FastAPI, Docker, or Azure before. By the end, youβll have a fully functioning app deployed online!
Image Generated by Dall-EHow to set up a Python virtual environmentHow to build a FastAPI app that generates descriptions from video URLsHow to containerize the app using DockerHow to push the Docker image to Docker HubHow to deploy the app to Azure Web Apps using a Docker containerHow to test the deployed app using Thunder Client in VS CodeBefore we get started, here are a few things youβll need:
Python Installed on your machine (Python 3.7+)Docker Desktop installed and running (Download Docker Desktop)A Docker Hub account (You can sign up for free at Docker Hub)Azure Account… Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.
Published via Towards AI