Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RyoniCho/subtitle_maker
make subtitle via OpenAI API
https://github.com/RyoniCho/subtitle_maker
Last synced: 3 months ago
JSON representation
make subtitle via OpenAI API
- Host: GitHub
- URL: https://github.com/RyoniCho/subtitle_maker
- Owner: RyoniCho
- Created: 2023-03-29T13:41:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-29T13:45:29.000Z (over 1 year ago)
- Last Synced: 2024-05-29T23:18:31.978Z (6 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Make Subscription using OpenAI
## Methodology
1. Prepare subtitle
[video-watching-acceleration](https://github.com/studentofkyoto/video-watching-acceleration/) was used.
this video-watching-acceleration use [Whisper by OpenAI](https://github.com/openai/whisper)(MIT license).this process makes transcript with video's language.
2. Translation to other language you want
using ChatGPT API, subscription is translated to other language.
## How to use
Install requirements
`pip install -r requirements.txt`,
and locate mp4 file at this folder, Make subscript. (whisper model: large)
`sh MakeSub.sh`
translate language you want.
`python Translation.py`