JohannLai / audio-to-text

Convert audio to text and summary just need to input the audio link.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

ChatGPT Audio link to text and summary

LICENSE

Convert audio to text and summary just need to input the audio link.

中文文档

Play with Issue

You can play with this project by opening an issue. Just fill in the text with a audio link and publish it here

If you have any questions, please feel free to open an issue. I will try my best to answer your questions.

📚 Build Your Personal Teacher Based on Videos

By utilizing ChatGPT OpenAPI and GPT Index, you can create a knowledge database by compiling multiple videos, and then ask any questions you want.

# clone it
$ git clone https://github.com/JohannLai/audio-to-text.git

# cd to the project
$ cd audio-to-text

# input your audio link in audio.txt
echo "https://xxx/watch?v=xxx" > audios_list.txt
# input your OPENAI_API_KEY in .env
echo "OPENAI_API_KEY=xxx" > .env
source .env

# 🙏🙏🙏 (it will take a long time)
$ make ask_ai

# 👍👍👍  (you can ask any questions you want)

🕹️ For developers

run on local

clone it and run it on your local machine

$ git clone https://github.com/JohannLai/audio-to-text.git
$ cd audio-to-text

# input your audio link in audio.txt
echo "https://xxx/watch?v=xxx" > audios_list.txt
# input your OPENAI_API_KEY in .env
echo "OPENAI_API_KEY=xxx" > .env
source .env

# 🙏🙏🙏 (it will take a long time)
$ make start

# 👍👍👍
$ cat text_formatted/*.txt

About

Convert audio to text and summary just need to input the audio link.

License:GNU General Public License v3.0


Languages

Language:Shell 76.2%Language:Python 13.4%Language:Makefile 8.7%Language:Dockerfile 1.8%