Skip to content

Instantly share code, notes, and snippets.

@gmyrianthous
Created February 8, 2022 15:29
Show Gist options
  • Save gmyrianthous/5df336d2f86ba85773a0749805d57d32 to your computer and use it in GitHub Desktop.
Save gmyrianthous/5df336d2f86ba85773a0749805d57d32 to your computer and use it in GitHub Desktop.
Topic Detection with Python - Part 5
OUTPUT_TRANSCRIPT_FILE = 'speech-to-text-tutorial.txt'
with open(OUTPUT_TRANSCRIPT_FILE, 'w') as f:
f.write(res_result.json()['text'])
print(f'Transcript file saved under {OUTPUT_TRANSCRIPT_FILE}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment