Created
October 14, 2022 06:54
-
-
Save jamescalam/e645ea4499e3e7984d4392325566573e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
with open("youtube-transcriptions.jsonl", "w", encoding="utf-8") as fp: | |
for line in tqdm(data): | |
json.dump(line, fp) | |
fp.write('\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment