Paul Bird
Update README.md
38764ad verified
|
raw
history blame
725 Bytes
metadata
license: apache-2.0

Whisper-Tiny model in Unity Sentis Format

This is the Whisper Tiny model tested to work in Unity 2023.

How to Use

  • Open a new scene in Unity 2023
  • Put the RunWhisper.cs on the Main Camera
  • Put the *.sentis files and the vocab.json in the Assets/StreamingAssets folder
  • Add a 16kHz mono audio file up to 30 seconds long to your project and drag on to the audioClip field. Set it to 16kHz uncompressed.
  • You can add a step to convert 44kHz or 22kHz audio to 16kHz with this model

When you press play the transcription of the audio will be displayed in the console window.