Skip to content

mahdiCV/yt-docker-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A YouTube search approach in a specific category

In this repository, as I started to learn Docker, I tried to build a search method in TechWorld with Nana's YouTube channel.

Result

Result:

Steps

1. Get all video Id's
2. Filtering videos base on Docker topic, and Extracting its transcript
3. Embedding texts with the Sbert pre-trained model (all-MiniLM-L6-v2)
4. Find the best video to texts and transcripts based on the input query

Running the Docker Image from Docker Hub

You can easily pull and run this Docker image from Docker Hub using the following steps:

1. Pull the Docker Image

To pull the image, use the following command:

docker pull bravomahdi/yt-docker-search:latest

2. Run the Docker Image

docker run -d -p 80:80 yt-docker-search

Docker Hub Repository

You can find the Docker image for this project on Docker Hub:

Docker Hub

3. Run test-Api file

Finally, after running the docker image, you can run test-Api.ipynb to test the model.