Instructions to use unity/inference-engine-whisper-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- unity-sentis
How to use unity/inference-engine-whisper-tiny with unity-sentis:
string modelName = "[Your model name here].sentis"; Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName); IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model); // Please see provided C# file for more details
- Notebooks
- Google Colab
- Kaggle
Commit ·
fb51dc5
1
Parent(s): e3b62b4
cleanup readme
Browse files
README.md
CHANGED
|
@@ -15,6 +15,7 @@ This is the [Whisper Tiny](https://huggingface.co/openai/whisper-tiny) model run
|
|
| 15 |
* Create a new scene in Unity 6;
|
| 16 |
* Install `com.unity.ai.inference` from the package manager;
|
| 17 |
* Install `com.unity.nuget.newtonsoft-json` from the package manager;
|
|
|
|
| 18 |
* Drag the `decoder_model.onnx` asset from the `models` folder into the `Audio Decoder 1` field;
|
| 19 |
* Drag the `decoder_with_past_model.onnx` asset from the `models` folder into the `Audio Decoder 2` field;
|
| 20 |
* Drag the `encoder_model.onnx` asset from the `models` folder into the `Audio Encoder` field;
|
|
|
|
| 15 |
* Create a new scene in Unity 6;
|
| 16 |
* Install `com.unity.ai.inference` from the package manager;
|
| 17 |
* Install `com.unity.nuget.newtonsoft-json` from the package manager;
|
| 18 |
+
* Add the `RunWhisper.cs` script to the Main Camera;
|
| 19 |
* Drag the `decoder_model.onnx` asset from the `models` folder into the `Audio Decoder 1` field;
|
| 20 |
* Drag the `decoder_with_past_model.onnx` asset from the `models` folder into the `Audio Decoder 2` field;
|
| 21 |
* Drag the `encoder_model.onnx` asset from the `models` folder into the `Audio Encoder` field;
|