3 ms·
I just shoved the whole .webvtt file in the header of a audio Response from the server so that I don't have to implement another API just for subtitles [1][2]
by mkagenius 2y ago
I just shoved the whole .webvtt file in the header of a audio Response from the server so that I don't have to implement another API just for subtitles [1][2]
1. While building https://gitpodcast.com https://gitpodcast.com
2. Code snip: https://github.com/BandarLabs/gitpodcast/blob/main/backend/app/routers/generate.py#L170 https://github.com/BandarLabs/gitpodcast/blob/main/backend/a...