Spelling and Grammar Checking Streamlit App: Docker Image and Docker Hub
Skills:
Tool Use & Function Calling80%
Key Takeaways
The video demonstrates how to build and deploy a Spelling and Grammar Checking Streamlit App using Docker, with a focus on creating a Docker image, pushing it to Docker Hub, and deploying the application. The video utilizes Docker Hub, Docker CLI, and Streamlit to containerize and manage the application.
Full Transcript
hello everyone welcome to AI anytime YouTube channel so in this video we'll push our Docker image to the official Docker Hub Repository so if you remember in the last video we have created the docker image of the streamlit application that we built for the spelling and grammar mistakes check app right so we'll take that uh Docker image and we'll push it to this repository so we can use this for the deployment directly so you can see right here I am on Docker Hub right now so there are two ways you can work with this you can work with directly you can configure a CI CD and you can use this or you can also use it from your local CLI the command line tools I will use the local command line tools to interact with this repository and I will push the docker image that I have locally in my system so for that I have to create a repository first so if you see is an option to create a repository I don't have any repository so far on this Docker Hub account so you can see the username here AI anytime and in the name so let's give it a name I'm just calling it maybe text correction this is my name and description uh let's call it official look for image for the spelling and grammar mistakes something like that it's a basic description so you can also see there are two options one is public the other one is private you can also use the private one which provide if you click on this using 0 of 1 private repository so you can use uh one repository at Max for private but I will keep it public that can also that also appears in the docker house search result so now you can also use that image if you want you know you can just download that image and you can run that image if you have Docker installed in your local machine or any remote machine that can be any uh Cloud machine as well so in this case let's create this it will take a little time so as you can see here it says I have a I have a repository here which is AI anytime and slash text correction it is also at the description it also gives you some insights like last post a few seconds ago and tags and scans and I'll I'll tell you about tax and cancellator right so Docker has now all this uh testing and scanning with the help of sync so if you don't know single I'll cover that you know brief about sync later we also have a readme you can create a readme file for the for the end user or the audience who like to use your image directly from this docker and we have some command that you can use this to you know interact that you can also use it to push your image from your local machine or from remote machine to this repository basically this is a more kind of a registry that we are using so if you talk about cloud and a cloud for example Azure or AWS they have as you have Azure container registry ACR and then we have ECR as well right for AWS so but we are directly going to use this Docker Hub official repository okay and then we have also automated build so for that you need to upgrade to either pro team and business but we don't need it for now this is a very simple tutorial right so let's see how we can you know push the image that we built locally so for that I will first see what all images that we have right for the command is as you know Docker images so you can see the image here text correction image which is the tag latest and some some information right so we will use this image and we'll push this image to this repository so how can we do that so first we have to log in to this repository right to the account so there are many ways I have been already logged in right to this repository earlier but if you were logging it for the first time and if you don't know how to log in you can also pass the username flag right so use the username flag and pass your username something like this and if you hit enter it will ask you for the password so I have already logged in uh into this I'm not going to do that when you when I hit enter you'll see it says authenticating with existing credentials and it says login succeeded so I have been successfully logged in into this repository now okay basically this account that I have ai anytime so first I have to tag this image right with this repository otherwise how would Docker understand it in which the repository you have to push this image so we have to tag this right how can we tag it so the way of tagging is we'll say window docker tag and then the image name that we have which says text correction uh I hope I'm typing right text Direction image and then we give the uh this username right so which is a i any time slash text correction and would like to give a first you can also this is basically a tagging you can see the tag here later so I want to give it the first version of it right so I am saying one point 1.0 so when I hit enter tag has been successfully done and the next step is to just push this so I'll say sudo Docker push uh just use excuse me just post just use this AI anytime and text correction so text correction dot 1.0 and you can see it says the push refers to this repository right Docker IO slash AI anytime slash text correction so it will start uh to sing it and you can see over here how how fast it's pushing it will take really time to push all of the layers that we have right so if you see in the containers we have different layers and it all it all has been being pushed here to this repository context correction so it will take little time and I'll get back when this is this being done so as you can see uh the posts have been successfully done here so what I'm going to do now let's refresh this and once you refresh it you will see the under tags and scams right we have something called 1.0 the tag uh it has been pushed operating system Linux Arc is AMD 64 and the type is image and pushed a few seconds ago right so if you if you go here and see all you can see the image has been pushed from here right so you can see if we have other versions as well it will be listed here and if you see the compressed size it's around 624 or MB right if let's click on this it will have all your image layers listed down here you can see the cmds the pin the environmental path all of the layers that have been you know used when when we were building that Docker image right so for that we have to upgrade if you upgrade uh basically Docker has partnered with someone some some in some organization called sync so sync is kind of uh scanning and testing company which kind of looks after if there's any bugs in your Docker images for example the python versions if it if it's too old like python 3.7 or 3.8 it will be treated as other bug right so I'm not going to upgrade it I'll keep it as it is and I'll go back and so you can see right so now if you want to pull this now suppose this is this is what I have pushed it right now if some of my friends who wants to use this in their local machine or if they want to build a POC for spelling and grammar uh check mistakes they can just use this Docker image right and they can just use it in their software or in their application that they are building so how can I pull this image and use it so if you see there is a command called Docker pull AI anytime slash text correction and something like that right let me just copy this pull command copy it I'll go I'll come back here on my terminal and what I will do I will again say I have to of course use sudo and then I'll just paste and I'll just hit enter and what it will do it will connect with this repository and it will pull it and you can see the image is up to date for AI anytime slice text correction 1.0 let me do one thing so I already have this image tagged in my local machine but you can try it and you try it and let me know if uh if it is working for you or not uh uh the way we want it to work right so if you see images you can see this image right AI anytime slash text correction I mean pushed so this is the one that we have tagged and pushed it to this repository and the below one that we built it right for the student application so this is the one way of uh pushing the docker images from your local machine to Docker hub and now what we will do in the next video we will take this uh excuse me we'll take this AI anytime slash text correction the image that we pushed will use this image and will use it somewhere in app service right in a web application you will use Microsoft Azure to do that we'll directly take it from here and we'll we'll not use code we'll use Docker and we'll deploy the application on Microsoft azure so I hope you liked the video and you you got some understanding that how Docker works and how you can you know use extremely application and containerize it and push it to the docker Hub or repositories right so if you like if you liked it please like and share this video And subscribe the channel thank you so much
Original Description
In this video, we built the docker image for the "Spelling and Grammar Checking Streamlit App". After building the image, we run the image inside a container and later pushed the image to the Docker Hub repository. It helps in the production space for deployment.
Docker Hub Documentation: https://docs.docker.com/docker-hub/
Streamlit Documentation: https://docs.streamlit.io/
#ai #streamlit #python #docker #artificialintelligence #nlp
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from AI Anytime · AI Anytime · 2 of 60
1
▶
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Spelling and Grammar Checking Streamlit App: Building Docker Image
AI Anytime
Spelling and Grammar Checking Streamlit App: Docker Image and Docker Hub
AI Anytime
Image Caption Generator: Google Colab and Hugging Face
AI Anytime
Low Code/No Code AI Platform Teachable Machine: Brain MRI Image Classification
AI Anytime
Low Code/No Code AI Platform Teachable Machine: Testing the Model
AI Anytime
Low Code/No Code AI Platform: Streamlit App for Brain MRI Image Classification
AI Anytime
Readme Generator Streamlit App using ChatGPT
AI Anytime
Generate Minutes of Meeting (MoM) from Video using ChatGPT: AI as an API
AI Anytime
The Great AI Showdown: ChatGPT vs ChatSonic 🔥
AI Anytime
Generating Transcripts and News Article with Whisper, GPT-3.5, ChatGPT and Streamlit
AI Anytime
Toxicity Classifier using Machine Learning and NLP
AI Anytime
Toxicity Classifier API using FastAPI
AI Anytime
Toxicity Classifier Streamlit App
AI Anytime
Low-Code Insurance Prediction with PyCaret and Streamlit
AI Anytime
Deploy Streamlit Python Application for Free
AI Anytime
GPT3 Powered Text Analytics App
AI Anytime
AI Image Generation Streamlit App
AI Anytime
Streamlit and txtai: Building an Abstractive Summarization App in Python
AI Anytime
Building a Topic Modeling and Labeling app with Streamlit
AI Anytime
The Art of AI: Exploring Midjourney, Dall-E, and Lexica
AI Anytime
Exploring the latest Large Language Models (LLaMA and Alpaca)
AI Anytime
Comparing LLMs like GPT-X, LLaMA, and Alpaca: Analyzing the Perplexity Score
AI Anytime
GPT-3 powered Q&A App using Langchain, GPT-Index, and Gradio
AI Anytime
All things #ai . Latest and greatest in AI. #tech #python #chatgpt #youtubeshorts #shorts #gpt3
AI Anytime
Text-to-Video Generation using a Generative AI Model
AI Anytime
#ai brand name generator. #artificialintelligence #tech #shorts #youtubeshorts #youtube #chatgpt
AI Anytime
Talking AGI with Sam Altman: A Deepfake Showcase
AI Anytime
A conversation with ChatGPT creator Sam Altman. #tech #technology #ai #shorts #viral
AI Anytime
Get to Know Anthropic's Claude: The Ultimate ChatGPT Competitor
AI Anytime
#shorts #chatgpt #python #datascience #tech #coding
AI Anytime
Recipe Generator App from Cooking Videos using Whisper and ChatGPT
AI Anytime
Segment Anything Model by Meta AI: An Image Segmentation Model
AI Anytime
One of the best #ai #books based on #tensorflow. #tech #coding #shorts #chatgpt #machinelearning
AI Anytime
Music Generation using Mubert #ai . #music #shorts #youtubeshorts #chatgpt #generativeai
AI Anytime
Image to Text Prompt: Reverse Engineering AI Image Generation
AI Anytime
Image Generation for #ramadan using #ai. #midjourney #chatgpt #shorts #youtubeshorts #islam
AI Anytime
How to build an AI-ready organization: Cultivating a Data-Driven Culture
AI Anytime
Midjourney: Generate AI-powered Images
AI Anytime
Getting Started with Graphs: A Beginner's Guide (Part 1 of GNN Series)
AI Anytime
Build India's First ChatGPT like App for Politics: BJP-GPT
AI Anytime
Meet BJP-GPT.... @AIAnytime #bjp #news #shorts #tech #chatgpt #ai #youtubeshorts #coding #video
AI Anytime
ChatPDF... #chatgpt for PDF files. #ai #generativeai #shorts #youtubeshorts #coding #tech #ai
AI Anytime
Free AI Image Generation #ai #chatgpt #coding #tech #shorts #youtubeshorts #shortvideo #generativeai
AI Anytime
Transform old photos into Vibrant Memories with Deoldify AI: Build a Streamlit App
AI Anytime
Open Assistant: The Real Open-sourced LLM
AI Anytime
Thanks to @YannicKilcherand team for the open sourced LLM Open Assistant. #ai #shorts #tech
AI Anytime
Search Engine for AI generated images. #ai #tech #technology #generativeai #chatgpt #shorts #video
AI Anytime
Generative AI Video Platform "Synthesia" #shorts #youtubeshorts #ai #tech #chatgpt #generativeai
AI Anytime
Text to speech Voice AI platform. #shorts #youtubeshorts #ai #tech #technology #python #coding
AI Anytime
Create Amazing Videos with ChatGPT and Pictory: Free AI-powered Video Creation
AI Anytime
Want to create beautiful video using #chatgpt and #pictory ? Watch the tutorial on channel. #ai
AI Anytime
Animate your photos using AI. Bring old family photos to life. #ai #tech #shorts #shortvideo #coding
AI Anytime
Create a PDF Search and Summarization Tool in less than 100 Lines of Code: GPT-Index and Streamlit
AI Anytime
Text to Video Generation using Videocrafter: Intuitive Math behind Latent Diffusion Model
AI Anytime
Gamma AI: Create presentation PPT easily with #ai . #chatgpt #shorts #shortvideo #tech #coding
AI Anytime
Tripnotes: Free AI tools for your trip planning. #ai #chatgpt #shorts #youtubeshorts #video
AI Anytime
Meet Bark (New Text to Speech Model): Clone Any Voice to Generate Music and Speech
AI Anytime
Fliki: The free AI video creation tool. #ai #shorts #shortvideo #youtubeshorts #chatgpt #tech #news
AI Anytime
Ask Anything Tool: Chat with Your Video using ChatGPT, MiniGPT4, and StableLM
AI Anytime
HuggingChat: Open Source ChatGPT (Interface and Model)
AI Anytime
More on: Tool Use & Function Calling
View skill →
🎓
Tutor Explanation
DeepCamp AI