Replies: 2 comments
-
import json
# after you get result
with open('output.json', 'w', encoding="utf-8") as f:
json.dump(result, f) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jianfch
-
great, thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For running the regular whisper, Adding the solution by @jongwook outputs a proper json file as well as other formats, when running "whisper audio.mp3 --model medium" via command-line: openai/whisper#152
How can I have the output in json format with stable-ts?
Beta Was this translation helpful? Give feedback.
All reactions