Ifan24 / GPT_subtitles

Download YouTube video (or supply your own) and generate dual languange subtitles with OpenAI Whisper and translation API (GPT) 下载 YouTube 视频(或提供您自己的视频)并使用 Whisper 和翻译API (GPT) 生成双语字幕
MIT License
89 stars 17 forks source link

for translation does it support gpt 4o and gpt 4? #9

Closed fahd200581 closed 4 months ago

fahd200581 commented 4 months ago

for translation does it support gpt 4o and gpt 4?

Ifan24 commented 4 months ago

Hi, you can use the gpt-4o or gpt 4 model by using the -m flag or change the default model here: https://github.com/Ifan24/GPT_subtitles/blob/a9eef4deedefc15b8e85e9e27d4241a219856700/translate_gpt.py#L667