Boost your skills with ChatGPT: Creating a transcription and translation tool using OpenAI
Вставка
- Опубліковано 3 лип 2024
- ▶ Source code github.com/craftzdog/vlog-tra...
▶ My dotfiles github.com/craftzdog/dotfiles...
▶ My equipment uses.craftz.dog/
▶ Majextand review uses.craftz.dog/posts/majextand
▶ Check out my product: Inkdrop - Markdown note-taking app
www.inkdrop.app/?...
Follow me online here:
▶ My weekly vlog / @craftzdog
▶ Subscribe to my newsletter www.devas.life/
▶ Twitter / inkdrop_app
▶ Instagram / craftzdog
00:00 Intro
01:02 Project description
04:18 Create a new Next.js project with Stitches
07:23 Prepare using OpenAl
08:38 Learn how to write Python with ChatGPT
11:49 Transcribe the audio with the transcription API
14:46 Try invoking the completion API
17:35 Get input data from stdin
19:26 Load and parse SRT data
21:36 Translate each subtitle
24:00 Check out Radix UI and Stitches
25:26 Prepare building the UI
26:29 Create a form to specify a video URL
31:22 Implement event handling
33:13 Create a component to render the command outputs
36:40 Add tabs
42:02 Add an API routing
42:47 Implement an audio download API
48:09 Implement a transcription API
50:17 Implement a translation API
53:22 Connect the components with states
55:42 Extract a video ID from the UA-cam URL
57:39 Progressively update the output by a callback function
01:00:12 Fix scroll overflow issue
01:00:55 Invoke the audio download API
01:04:50 Invoke the transcription API
01:07:28 Fix the transcription prompt not working
01:07:51 Invoke the translation API
01:10:42 Finish it up
01:10:56 Demo
#OpenAI #CodeWithMe #ASMR - Наука та технологія
Check out my Markdown note-taking app designed for developers 👉 www.inkdrop.app/?UNGi144eVbI
video ID: FmMA6SXCi2M
[Error] Traceback (most recent call last):
File "C:\Users\...\vlog-translator-main\scripts\transcribe.py", line 32, in
with open(audio_file_path, 'rb') as audio_file:
[Error] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Error] FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\...\\vlog-translator-main\\tmp\\FmMA6SXC
i2M.m4a'
Finished command. Exit code: 1
wait - compiling /api/translate (client and server)...
event - compiled successfully in 288 ms (60 modules)
Finished command. Exit code: 0
The way you produced this video is absolutely insane. The mix between japanese culture and code is just epic. Looking forward to your next videos !
agree!
💯
Insane!!
the edition, the way that you do all the things, the culture, the code.. everything!
really awesome!
Getting notifications on your uploads is such a vibe. Thanks for sharing your talent with us 🙏🏿
Hands down one of the best creative coding UA-cam content creators out there. Insane production quality. Thank you for sharing your projects with us, Takuya sensei.
You have the most aesthetically pleasing programming videos, amazing. I had the same idea but only had it in a jupyter notebook.
I thought this was a tutorial, not a movie about a tutorial. The quality of your production always amazes me. 素晴らしい仕事です!
Brilliant as always Takuya!! Thank you for sharing.
I really like your smile in the end, the monment that you ensure everything works perfect is so satisfied!
This was wonderful Takuya. Really love this format of video's. It feels so soothing and calm.
That smile at the end says it all!
Great work man!
Genius, every video is a work of art! Thank you.
Bravo.
The way you do everything is superb.
You are at the top 1%, such a nice way to share knowledge. Thanks a lot.
Thanks For publishing yet another gem of a video.. Keep up the good work Takuya
I'm so excited that there is a second channel too! I love your stuff!
Such peace, simplicity and joy.
Really incredible video production quality
The aesthetic of this video is extremely pleasing, this is some next level devlog. I wonder how much effort you put into this video's production. Well done, Takuya-san!
He puts a lot in he's mentioned it in the past. Truly one of the best UA-camr's / Programmers
This is true Art and Inspiration. Love your videos!
I look forward to your video very much, every time I watch it is a kind of enjoyment.
you are an inspiration!! thank you so much for your videos. Never stop it!
Thanks for the video. It is so amazing to see you code like that.
You got yourself a new follower! Amazing AMSR dev content.
The Intro is pure art!
Enjoyable video as always. Thank you.
wow the video quality has improved alot love your content
This is the most inspiring channel on UA-cam!
Huge fan Takuya, great job on the amazing content. Keep it up!
Takuya, you're a genius. Absolutely the next level
You show me the joy of being a developer. Thank you.
beautiful video...your video motivates me to code and work on my project. Keyboard's sound is just amazing..feels good
I love the style of your videos, greetings!!
Never thought of you will create a video relevant to chatGPT Lol. But reading the title already makes me want to dive through this video to learn more, because All I do is just ask it to finish my homework.
Ohh damn!! is japanese do you understand that..
Wkwk
Love your aesthetics 🌸🌸🌸 so inspiring 👏👏👏😍😍😍
Love how you just get down to coding, this is what it's all about. Just doing. And great quality vids!
Watched the whole thing in one go. Arigato
Good engineering vibe! Good luck!
Thanks for Thanks for the video Takuya!
Your channel is amazing. Always relaxing, beautiful videos with a nice productive show of skills and creativity. I'm also building a Korean learning app with gpt and whisper, so just like what you are doing actually :).. Works fantastically well. I'm also adding a grammar analysis to sentences and taking out the root of the words, so they can be looked up in a dictionary.
sounds cool!
I'm currently learning Korean, so that's an interesting idea. Have you looked up mirinae though ? It already does this (though i don't find it so accurate, especially with typos or slang)
@@LuccDev Yeah I've seen mirinae, seems they are making a lot of good progress too. My approach is a bit different though.
I'm comfortable by watching your videoes. I am looking forward to your next video. :)
Such a nice video! Big fan here
Thank you for the good video and inspiration!
You're coding style inspiring me🔥🔥🔥
I think ChatGPT is a game changing tool for junior programmer, reducing the time of grinding by just building and learning at the same time, is just amazing.
I love this, thank you very much
love the vibe
Nice work and video!
WoW, amazing, I can't even talk. you are so powerful.
A insane video that perfect mix the develop life with japanese culture and scene, keep it up.
best vdeo yet... niceeeeeee
All this within an hour. 👏👏👏👏
I look up to you, you're a great man
Super Awesome!
Feels like I'm watching a video from the future. Cyberpunk themes with the AI and nice production quality 👍
So amazing !!
what a video, hope u makes more
love the videos you make. i enjoy watching you code. keep it up and thanks for sharing. BTW Keychrone K7 released new key caps for your keyboard in white or black.
Love your videos!!
Man I’ve been having an existential crisis over ai and coding, but after watching this video I can see how it can actually help me in me learning to code and can actually be beneficial. It should have been obvious, but as is just another tool for our use after all. Am excited to start using gpt and other tools to learn faster :)
Copilot -> GPT-4 -> Fully autonomous coder. Stay afraid and think about home-based farming, ecommerce and other business ideas.
@@instrido580 assuming those are not being replaced before coders
look at Wendyes replacing people who take orders
@@ko-Daegu Exactly.
thanks for inspiring me :D
awesome mate
Your contents are amazing…
beautiful video
Hello Takuya-san, do you have any background in machine learning (classical)? If ever, what are the things I should focus at, especially when making a chatbot regarding to mental health? Any ideas on how I can use the datasets available online, especially when modifying locally? Thank you!
Not only is Takuya incredible at coding, but he's also an absolute beast when it comes to picking up outfits. Damn you look good man
I appreciate that you have been utilizing ChatGPT for programming rather than those developers who refuse to adopt it. It is important to acknowledge that we are in the era of AI, and despite any apprehensions, this technology will eventually supplant traditional coding methods. Thus, it is advisable to enhance one's skills and learn to code with prompts, ultimately becoming a proficient prompt engineer.
don't make yourself brain dead in the process, it is important you don't rely on ChatGPT to do the coding for you.. we haven't had it long enough to know if it is actually the way forward with programming or if it will always be better as an assistant, I will not be mindlessly prompting and becoming a "prompt engineer". Thinking it will completely supplant traditional coding is a bit naive at this point, you should learn how LLMs work and realize the flaws and fallacies that come with it.
It doesn't understand the way you and I do, it is still a prediction engine, it will ultimately be limited to what it can do with that. It excels at language processing, which will be the replacement of Google searching, but not programming itself. (I have a degree in this.. so it is not just some random on the internet being scared and mindlessly commenting)
Python is my favorite language since 2000 when I got to know it during my graduation in Computer Science. I wrote my tasks in Python instead of using Pascal, Delphi, C and Java.
So cool!!
better than a movie for devs
Hi Mr. Takuya! Great intro and music choice. I'm curious if youtube-dl is still working. Nice to see this video sooner.
Arigatou gozaimasu!
Love your video so much....
great videos !
Beautiful Video btw, are there other resources that can be used instead of openai's api, or is there anyway to make any App which has features like GPT has to use openai?. I know that its way much easier to use openai's models and finetune it. I would love another approach to handling this situation.
The funniest thing is that I implemented a similar project (for 3-4 days ago completed it), but using Whisper AI on my video card and integrating subtitles directly into the video in the browser
Полезный мощный ресурс
how is he loading chatgpt in the mac desktop what tool is that looks nice
Im starting coding idk what r u doing tbh haha but your vids are very motivational :)
you do programming with so much passion, thank you for this way of teaching programming to people! i like it how the japanese people do their crafts with so much detail!!! in germany is work just work, and that was it. and the click sounds of your mechanical keyboard gives your videos a meditative touch by the way!
Excellent video! In 50:06 (transcribe.py:13) there is a typo "primpt", I think that's why he keeps getting his name wrong. If you already corrected it at some point in the video and I let it go, please ignore it. ;)
Watching this man while coding, tells me that I know little in coding
Extremely pleasant to watch and learn web development & API calling
Your video is art
Damn looking drippy af!
I love your tuts bcz I can listen to music and follow your vid at the same time... hu3
I was in Osaka during the sakura full bloom the other week! Wish I could find this cool spot to write code instead of doing hanami outside Osaka castle lol
amazing
How does it usually take to produce a video like that? These inspire me to deliver excellence in everything I do - besides being kind of therapeutic!
Great, video! What kind of app are you using to use ChatGPT directly on your mac?
Love from Germany
Hello Takuya! I've been watching you for a long time, very cool videos!! Tell me, please, how do you record individual applications in the background? (((I still couldn't figure it out, it's very interesting and beautiful
awsome video ! what keystroke app do you use to show off the keys you have pressed ?
Your terminal and vim looks amazing. How do make them look like yours
great vid ! are you using brown mx on the K7?
yep
Thank for your sharing, I would like to know what app you use for chatgpt? It does not look like macgpt or lencx/chatgpt.
Gracias por tu contenido....amo Linux pero Mac y Windows lo hacen difícil migrar. ..con Dell precisión 7770 y Arch Linux con hyperland a mi gusto y la terminal como la tuya feliz codificando
like this
Amazing video, how do you do the terminal over video, it's so cool.
what gpt client do you use? so clean
Great video, Can i ask your screen recorder name?!
You should use "cit" command to edit code in tags.