downloaded ffmpeg.wasm

This commit is contained in:
YasinOnm08 2024-09-26 16:01:40 +02:00
parent cc9c9df3d7
commit 9b48be0202
3 changed files with 49 additions and 0 deletions

View file

@ -22,3 +22,5 @@ class VoiceRecognition:
result = model.transcribe(audio_data)
print(result["text"])
return result["text"]
# npm install @ffmpeg/ffmpeg @ffmpeg/util @ffmpeg/types @ffmpeg/core-mt