Skip to content

dez2003/translingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspiration

A lot of the times I find myself watching videos on YouTube, whether it's for work/study purposes or for the mere pleasure of it. I like to watch different kinds of YouTubers from all over the world and there are times where there aren't any captions to understand what they're saying. I realized that sometimes this language barrier can limit their audience to only people who understand the language they speak, so I wanted to start project that allowed YouTube videos to be transcribed and translated to any language of one's choosing!

What it does

In the website TransLingo, you have to input the YouTube video URL that you want to transcribe, and the language that you want to translate the transcriptions to. After clicking on the Confirm button, it will display both the transcriptions in the original language and the language that you want to translate it to with timestamps.

How I built it

I built TransLingo using HTML, CSS and Python using Flask. I also used the OpenAI API's Whisper and GPT model to implement the features of transcription and translation, and used the pytube library in Python to convert the YouTube video URL to an mp3 file.

Challenges I ran into

One of the biggest challenges was having to settle on a project idea I felt confident in completing within the deadline. When thinking of a project, I needed to greatly consider the time constraint and my knowledge of languages and other technologies in the beginning. Other challenges I had were having to figure out which Python library to process YouTube videos with and learning how to implement the Whisper model to get transcriptions and timestamps since I am pretty new to learning about APIs and using Python libraries.

Accomplishments that I'm proud of

Overall, I am proud of myself for successfully completing this project within the time constraint. At first, I was hesitant on how big of a scale I wanted my project to be due to the possible obstacles I might face and not finishing it on time. But in the end, I’m proud that I overcame the steep learning curve and learned how to use some of the models, frameworks, and libraries for this project.

What I learned

Working on this project helped me learn the importance of managing my time well and knowing what to prioritize. I also learned new technical skills, including how to implement OpenAI's AI models into a website, different Python libraries for YouTube, and using Flask to run TransLingo with Python3.

What's next for TransLingo

Although there are many ways that TransLingo can be improved and further developed, an area I want to focus on next is also providing mp3 files of voiceovers in the translated language chosen.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published