Skip to content

Instantly share code, notes, and snippets.

@jamescalam
Created October 14, 2022 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamescalam/e645ea4499e3e7984d4392325566573e to your computer and use it in GitHub Desktop.
Save jamescalam/e645ea4499e3e7984d4392325566573e to your computer and use it in GitHub Desktop.
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