Ich hasse mein Leben bring mich um fr fr alles hier ist scheiße ~ahh push
mp3 parser
This commit is contained in:
Binary file not shown.
@@ -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)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
" Hallo, das ist ein Test, Hello World."
|
||||||
Reference in New Issue
Block a user