diff --git a/Aufzeichnung.mp3 b/Aufzeichnung.mp3 new file mode 100644 index 0000000..6fa1f8b Binary files /dev/null and b/Aufzeichnung.mp3 differ diff --git a/test_mp3parser.py b/test_mp3parser.py new file mode 100644 index 0000000..c6d90b8 --- /dev/null +++ b/test_mp3parser.py @@ -0,0 +1,12 @@ +import whisper +import json + + +model = whisper.load_model('tiny') + + +result = model.transcribe(str("Aufzeichnung.mp3"), language='de', verbose=True) + +# Dump the results to a JSON file +with open('transcript.json', "w") as file: + json.dump(result['text'], file, indent=4) \ No newline at end of file diff --git a/transcript.json b/transcript.json new file mode 100644 index 0000000..800feea --- /dev/null +++ b/transcript.json @@ -0,0 +1 @@ +" Hallo, das ist ein Test, Hello World." \ No newline at end of file