Paul Bird
Update README.md
20179eb verified
|
raw
history blame
752 Bytes
---
license: apache-2.0
library_name: unity-sentis
---
# Whisper-Tiny model in Unity Sentis Format
This is the [Whisper Tiny](https://huggingface.co/openai/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](https://huggingface.co/unity/sentis-audio-frequency-to-16khz)
When you press play the transcription of the audio will be displayed in the console window.